Commit 1c4dc9cc authored by Klaus Stein's avatar Klaus Stein
Browse files

Show ImageMap title/usage/description on map page

parent 5422c0dd
...@@ -96,6 +96,11 @@ main.show.map { ...@@ -96,6 +96,11 @@ main.show.map {
background: $link-color; background: $link-color;
} }
} }
details {
margin-top:1ex;
border-top: 1px solid grey;
padding-top: 2px;
}
} }
} }
} }
......
...@@ -41,6 +41,9 @@ ...@@ -41,6 +41,9 @@
<%= im.sizeinfo_s %><br /> <%= im.sizeinfo_s %><br />
<%= link_to '↓ download', rails_blob_path(im.image), download: im.name %> <%= link_to '↓ download', rails_blob_path(im.image), download: im.name %>
<%= link_to 'edit', im %> <%= link_to 'edit', im %>
<details>
<summary><%= im.title || '–––' %>, <%= im.usage %></summary>
<%= im.description %>
</figcaption> </figcaption>
</figure> </figure>
<% end %> <% end %>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment