view rhodecode/templates/bookmarks/bookmarks_data.html @ 3707:93de03499097 beta

shortlog: show all refs (bookmarks,tags,branches) in one dedicated column - rename confusing name bookbook to booktag (as others similar names)
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 07 Apr 2013 23:11:17 +0200
parents c20adbaf16af
children 574825da0d4e
line wrap: on
line source

%if c.repo_bookmarks:
   <div id="table_wrap" class="yui-skin-sam">
    <table id="bookmarks_data">
    <thead>
        <tr>
            <th class="left">${_('Name')}</th>
            <th class="left">${_('Date')}</th>
            <th class="left">${_('Author')}</th>
            <th class="left">${_('Revision')}</th>
        </tr>
    </thead>
    %for cnt,book in enumerate(c.repo_bookmarks.items()):
        <tr class="parity${cnt%2}">
            <td>
                <span class="logbooks">
                    <span class="booktag">${h.link_to(book[0],
                    h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span>
                </span>
            </td>
            <td><span class="tooltip" title="${h.tooltip(h.age(book[1].date))}">${h.fmt_date(book[1].date)}</span></td>
            <td title="${book[1].author}">${h.person(book[1].author)}</td>
            <td>
              <div>
                  <pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id)}">r${book[1].revision}:${h.short_id(book[1].raw_id)}</a></pre>
              </div>
            </td>
        </tr>
    %endfor
    </table>
    </div>
%else:
    ${_('There are no bookmarks yet')}
%endif