Changeset - 9e377342802c
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2012-03-06 23:27:43
marcin@python-works.com
for the sake let's wrap the template joins with unicode mapping
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/admin/repos_groups/repos_groups_show.html
Show inline comments
 
@@ -44,7 +44,7 @@
 
                      <td>
 
                          <div style="white-space: nowrap">
 
                          <img class="icon" alt="${_('Repositories group')}" src="${h.url('/images/icons/database_link.png')}"/>
 
                          ${h.link_to(h.literal(' &raquo; '.join([g.name for g in gr.parents+[gr]])),url('edit_repos_group',id=gr.group_id))}
 
                          ${h.link_to(h.literal(' &raquo; '.join(map(h.safe_unicode,[g.name for g in gr.parents+[gr]]))),url('edit_repos_group',id=gr.group_id))}
 
                          </div>
 
                      </td>
 
                      <td>${gr.group_description}</td>
rhodecode/templates/admin/users_groups/users_groups.html
Show inline comments
 
@@ -37,7 +37,7 @@
 
            %for cnt,u_group in enumerate(c.users_groups_list):
 
                <tr class="parity${cnt%2}">
 
                    <td>${h.link_to(u_group.users_group_name,h.url('edit_users_group', id=u_group.users_group_id))}</td>
 
                    <td><span class="tooltip" title="${', '.join([x.user.username for x in u_group.members[:50]])}">${len(u_group.members)}</span></td>
 
                    <td><span class="tooltip" title="${', '.join(map(h.safe_unicode,[x.user.username for x in u_group.members[:50]]))}">${len(u_group.members)}</span></td>
 
                    <td>${h.bool2icon(u_group.users_group_active)}</td>
 
                    <td>
 
                        ${h.form(url('users_group', id=u_group.users_group_id),method='delete')}
0 comments (0 inline, 0 general)