Show Media description in browse view

svn: r20045
This commit is contained in:
Doug Blank 2012-07-22 00:14:48 +00:00
parent 5af4d58ff3
commit 00f3707474

View File

@ -8,8 +8,7 @@
<tr> <tr>
<th>#</th> <th>#</th>
<th>ID</th> <th>ID</th>
<th>MIME Type</th> <th>Description</th>
<th>Date</th>
<th>File</th> <th>File</th>
</tr> </tr>
</thead> </thead>
@ -20,8 +19,7 @@
<td><a href="/{{view}}/{{media.handle|escape}}{{args}}" class="noThumb browsecell"> <td><a href="/{{view}}/{{media.handle|escape}}{{args}}" class="noThumb browsecell">
<span class="grampsid">[{{media.gramps_id}}]</span></a> <span class="grampsid">[{{media.gramps_id}}]</span></a>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<td><a href="/{{view}}/{{media.handle|escape}}{{args}}" class="browsecell">{{media.mime|escape}}</a> <td><a href="/{{view}}/{{media.handle|escape}}{{args}}" class="browsecell">{{media.desc|escape}}</a>
<td><a href="/{{view}}/{{media.handle|escape}}{{args}}" class="browsecell">{{media|display_date|nbsp}}</a>
<td><a href="/{{view}}/{{media.handle|escape}}{{args}}" class="browsecell">{{media.path|escape}}</a> <td><a href="/{{view}}/{{media.handle|escape}}{{args}}" class="browsecell">{{media.path|escape}}</a>
{% else %} {% else %}
<td></td> <td></td>