Commit 485b6ea1 authored by Klaus Stein's avatar Klaus Stein
Browse files

Add new fields to map overview

parent 08e897bb
......@@ -14,6 +14,7 @@
<col id="col-repo_signature" />
<col id="col-repository" />
<col id="col-description" />
<col id="col-interpretation" />
<col id="col-dates" />
<col id="col-basemap" />
<col id="col-scale" />
......@@ -38,6 +39,7 @@
<th scope="col">Signature</th>
<th scope="col">Repository</th>
<th scope="col" class="narrow">Desc.</th>
<th scope="col" class="narrow">I.</th>
<th scope="col" class="narrow">Date(s)</th>
<th scope="col">Basemap</th>
<th scope="col">Scale</th>
......@@ -58,7 +60,7 @@
<% @maps.each do |map| %>
<tr id="<%= dom_id(map) %>">
<td><%= editlink map %></td>
<%= td(map.title, a: map, klass: 'wide') %>
<%= td([map.title,map.titles].compact.join(', '), a: map, klass: 'wide') %>
<%
place = map.place.name
place = place.to_s + " (#{map.district})" unless map.district.blank?
......@@ -68,6 +70,7 @@
<%= td(joined(map.repo_doc_ref, map.repo_doc_ref_part) , klass: 'wwide') %>
<%= td(joined(map.repository&.name, map.repository&.location, joiner: ', '), a: map.repository , klass: 'wide') %>
<%= td(map.description, klass: 'narrow') %>
<%= td(map.interpretation, klass: 'narrow') %>
<%= td(map.dates, klass: 'narrow') %>
<%= td(map.basemap, klass: 'wide') %>
<%= td(map.scale, klass: 'full') %>
......
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