view rhodecode/templates/bookmarks/bookmarks_data.html @ 1756:60a00fd76d58 beta

UI !
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 05 Dec 2011 03:31:23 +0200
parents a3ee2611e6e8
children 184557472f5c
line wrap: on
line source

%if c.repo_bookmarks:    
    <table>
    	<tr>
	        <th class="left">${_('date')}</th>
	        <th class="left">${_('name')}</th>
	        <th class="left">${_('author')}</th>
	        <th class="left">${_('revision')}</th>
			<th class="left">${_('links')}</th>
    	</tr>
		%for cnt,book in enumerate(c.repo_bookmarks.items()):
		<tr class="parity${cnt%2}">		
	        <td><span class="tooltip" title="${h.age(book[1].date)}">
                      ${book[1].date}</span>
            </td>
            <td>
                <span class="logbooks">
                    <span class="bookbook">${h.link_to(book[0],
                    h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span>
                </span>
            </td>	        
	        <td title="${book[1].author}">${h.person(book[1].author)}</td>
	        <td>r${book[1].revision}:${h.short_id(book[1].raw_id)}</td>
			<td class="nowrap">
			${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-btn xsmall")}
			<span style="color:#515151">|</span>
			${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-btn xsmall")}
			</td>
		</tr>	
		%endfor
    </table>
%else:
	${_('There are no bookmarks yet')}
%endif