Changeset - 15f837c62fa5
[Not reviewed]
celery
0 2 0
Marcin Kuzminski - 15 years ago 2010-09-22 16:24:07
marcin@python-works.com
added mimetypes to files
2 files changed with 8 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pylons_app/templates/files/files_browser.html
Show inline comments
 
@@ -23,6 +23,7 @@
 
		             <tr>
 
		                 <th>${_('Name')}</th>
 
		                 <th>${_('Size')}</th>
 
		                 <th>${_('Mimetype')}</th>
 
		                 <th>${_('Revision')}</th>
 
		                 <th>${_('Last modified')}</th>
 
		                 <th>${_('Last commiter')}</th>
 
@@ -51,6 +52,11 @@
 
		             </td>
 
		             <td>
 
		             	%if node.is_file():
 
		                  ${node.mimetype}
 
		              %endif
 
		             </td>
 
		             <td>
 
		             	%if node.is_file():
 
		             		${node.last_changeset.revision}
 
		             	%endif
 
		             </td>
pylons_app/templates/files/files_source.html
Show inline comments
 
@@ -6,6 +6,8 @@
 
	</dd>
 
	<dt>${_('Size')}</dt>
 
	<dd>${h.format_byte_size(c.files_list.size,binary=True)}</dd>
 
	<dt>${_('Mimetype')}</dt>
 
	<dd>${c.files_list.mimetype}</dd>
 
	<dt>${_('Options')}</dt>
 
	<dd>${h.link_to(_('show annotation'),
 
			h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}
0 comments (0 inline, 0 general)