Files
@ 02bdf2f296ff
Branch filter:
Location: kallithea/rhodecode/templates/files/files_browser.html - annotation
02bdf2f296ff
2.6 KiB
text/html
fixes #69 password confirmation for register dialog.
Fixes appcrash when using some special characters in register field
fixes app crash when no email config is enabled
Fixes appcrash when using some special characters in register field
fixes app crash when no email config is enabled
1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 c8bd0e6cc3da c8bd0e6cc3da c8bd0e6cc3da 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 fcf599cd3404 1e757ac98988 1e757ac98988 c8bd0e6cc3da 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 fcf599cd3404 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 c8bd0e6cc3da 1e757ac98988 1e757ac98988 95b746f2f0ed 1e757ac98988 95b746f2f0ed 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 c8bd0e6cc3da 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 dff6d5cb8bba 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 | <%def name="file_class(node)">
%if node.is_file():
<%return "browser-file" %>
%else:
<%return "browser-dir"%>
%endif
</%def>
<div id="body" class="browserblock">
<div class="browser-header">
${h.form(h.url.current())}
<div class="info_box">
<span >${_('view')}@rev</span>
<a href="${c.url_prev}" title="${_('previous revision')}">«</a>
${h.text('at_rev',value=c.changeset.revision,size=3)}
<a href="${c.url_next}" title="${_('next revision')}">»</a>
${h.submit('view','view')}
</div>
${h.end_form()}
</div>
<div class="browser-body">
<table class="code-browser">
<thead>
<tr>
<th>${_('Name')}</th>
<th>${_('Size')}</th>
<th>${_('Mimetype')}</th>
<th>${_('Revision')}</th>
<th>${_('Last modified')}</th>
<th>${_('Last commiter')}</th>
</tr>
</thead>
%if c.files_list.parent:
<tr class="parity0">
<td>
${h.link_to('..',h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.files_list.parent.path),class_="browser-dir")}
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
%endif
%for cnt,node in enumerate(c.files_list,1):
<tr class="parity${cnt%2}">
<td>
${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=node.path),class_=file_class(node))}
</td>
<td>
%if node.is_file():
${h.format_byte_size(node.size,binary=True)}
%endif
</td>
<td>
%if node.is_file():
${node.mimetype}
%endif
</td>
<td>
%if node.is_file():
<span class="tooltip" tooltip_title="${node.last_changeset.raw_id}">${node.last_changeset.revision}</span>
%endif
</td>
<td>
%if node.is_file():
${node.last_changeset.date} - ${h.age(node.last_changeset.date)}
%endif
</td>
<td>
%if node.is_file():
${node.last_changeset.author}
%endif
</td>
</tr>
%endfor
</table>
</div>
</div>
|