##// END OF EJS Templates
replaced all decode('utf-8') instances with .decode('utf-8','replace') for more error prof setup,...
replaced all decode('utf-8') instances with .decode('utf-8','replace') for more error prof setup, this way rhodecode could handle displaying non utf8 encoded file paths. This is still an invalid path, but this way we could at least show those paths without errors

File last commit:

r904:82aaf4e7 beta
r1100:e7d7f052 beta
Show More
branches_data.html
34 lines | 1.3 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 % if c.repo_branches:
<table class="table_disp">
<tr>
<th class="left">${_('date')}</th>
Fixes for raw_id, needed for git...
r636 <th class="left">${_('name')}</th>
<th class="left">${_('author')}</th>
renamed project to rhodecode
r547 <th class="left">${_('revision')}</th>
<th class="left">${_('links')}</th>
</tr>
%for cnt,branch in enumerate(c.repo_branches.items()):
<tr class="parity${cnt%2}">
reimplemented tooltip, refactored tooltip_title into title for proper html,...
r904 <td><span class="tooltip" title="${h.age(branch[1].date)}">
fixes to #85, some other small changes for summary page
r799 ${branch[1].date}</span>
</td>
Fixes for raw_id, needed for git...
r636 <td>
<span class="logtags">
<span class="branchtag">${h.link_to(branch[0],
h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span>
</span>
</td>
<td title="${branch[1].author}">${h.person(branch[1].author)}</td>
<td>r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</td>
renamed project to rhodecode
r547 <td class="nowrap">
Fixes for raw_id, needed for git...
r636 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}
renamed project to rhodecode
r547 |
Fixes for raw_id, needed for git...
r636 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id))}
renamed project to rhodecode
r547 </td>
</tr>
%endfor
</table>
%else:
${_('There are no branches yet')}
%endif