##// END OF EJS Templates
added mimetypes to files
marcink -
r495:15f837c6 celery
parent child Browse files
Show More
@@ -23,6 +23,7 b''
23 <tr>
23 <tr>
24 <th>${_('Name')}</th>
24 <th>${_('Name')}</th>
25 <th>${_('Size')}</th>
25 <th>${_('Size')}</th>
26 <th>${_('Mimetype')}</th>
26 <th>${_('Revision')}</th>
27 <th>${_('Revision')}</th>
27 <th>${_('Last modified')}</th>
28 <th>${_('Last modified')}</th>
28 <th>${_('Last commiter')}</th>
29 <th>${_('Last commiter')}</th>
@@ -50,6 +51,11 b''
50 %endif
51 %endif
51 </td>
52 </td>
52 <td>
53 <td>
54 %if node.is_file():
55 ${node.mimetype}
56 %endif
57 </td>
58 <td>
53 %if node.is_file():
59 %if node.is_file():
54 ${node.last_changeset.revision}
60 ${node.last_changeset.revision}
55 %endif
61 %endif
@@ -6,6 +6,8 b''
6 </dd>
6 </dd>
7 <dt>${_('Size')}</dt>
7 <dt>${_('Size')}</dt>
8 <dd>${h.format_byte_size(c.files_list.size,binary=True)}</dd>
8 <dd>${h.format_byte_size(c.files_list.size,binary=True)}</dd>
9 <dt>${_('Mimetype')}</dt>
10 <dd>${c.files_list.mimetype}</dd>
9 <dt>${_('Options')}</dt>
11 <dt>${_('Options')}</dt>
10 <dd>${h.link_to(_('show annotation'),
12 <dd>${h.link_to(_('show annotation'),
11 h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}
13 h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}
General Comments 0
You need to be logged in to leave comments. Login now