ui: bookmark items should use consisten space leading position number so UI is evenly displayed
This commit is contained in:
parent
6e8560f3a5
commit
02a5aa5f47
1 changed files with 3 additions and 3 deletions
|
|
@ -348,7 +348,7 @@
|
|||
% if item.repository:
|
||||
<div>
|
||||
<a class="bookmark-item" href="${h.route_path('my_account_goto_bookmark', bookmark_id=item.position)}">
|
||||
${item.position}
|
||||
<code>${item.position}</code>
|
||||
% if item.repository.repo_type == 'hg':
|
||||
<i class="icon-hg" title="${_('Repository')}" style="font-size: 16px"></i>
|
||||
% elif item.repository.repo_type == 'git':
|
||||
|
|
@ -362,14 +362,14 @@
|
|||
% elif item.repository_group:
|
||||
<div>
|
||||
<a class="bookmark-item" href="${h.route_path('my_account_goto_bookmark', bookmark_id=item.position)}">
|
||||
${item.position}
|
||||
<code>${item.position}</code>
|
||||
<i class="icon-folder-close" title="${_('Repository group')}" style="font-size: 16px"></i>
|
||||
${(item.title or h.shorter(item.repository_group.group_name, 30))}
|
||||
</a>
|
||||
</div>
|
||||
% else:
|
||||
<a class="bookmark-item" href="${h.route_path('my_account_goto_bookmark', bookmark_id=item.position)}">
|
||||
${item.position}
|
||||
<code>${item.position}</code>
|
||||
${item.title}
|
||||
</a>
|
||||
% endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue