2 Commits

  1. 9
      CHANGELOG.md
  2. 4
      lib/mirage_web/live/link_live/show.html.leex
  3. 4
      lib/mirage_web/live/note_live/show.html.leex
  4. 2
      mix.exs

9
CHANGELOG.md

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.57.0](https://git.inhji.de/inhji/mirage/compare/v0.56.2...v0.57.0) (2021-02-24)
### Features:
* link tags in show note and show link
## [v0.56.2](https://git.inhji.de/inhji/mirage/compare/v0.56.1...v0.56.2) (2021-02-24)

4
lib/mirage_web/live/link_live/show.html.leex

@ -2,7 +2,9 @@
<h1><%= @link.title || @link.url %></h1>
<p class="tags">
<%= for topic <- @link.topics do %>
<span class="tag"><%= topic.text %></span>
<span class="tag">
<%= link topic.text, to: Routes.topic_path(MirageWeb.Endpoint, :show, topic) %>
</span>
<% end %>
</p>
</header>

4
lib/mirage_web/live/note_live/show.html.leex

@ -17,7 +17,9 @@
<p><time datetime="<%= @note.inserted_at %>"><%= Timex.from_now(@note.inserted_at) %></time> / <time datetime="<%= @note.updated_at %>"><%= Timex.from_now(@note.updated_at) %></time></p>
<p class="tags">
<%= for topic <- @note.topics do %>
<span class="tag"><%= topic.text %></span>
<span class="tag">
<%= link topic.text, to: Routes.topic_path(MirageWeb.Endpoint, :show, topic) %>
</span>
<% end %>
</p>
</header>

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.56.2"
@version "0.57.0"
def project do
[

Loading…
Cancel
Save