diff --git a/rhodecode/templates/bookmarks/bookmarks.html b/rhodecode/templates/bookmarks/bookmarks.html --- a/rhodecode/templates/bookmarks/bookmarks.html +++ b/rhodecode/templates/bookmarks/bookmarks.html @@ -2,7 +2,10 @@ <%inherit file="/base/base.html"/> <%def name="title()"> - ${_('%s Bookmarks') % c.repo_name} · ${c.rhodecode_name} + ${_('%s Bookmarks') % c.repo_name} + %if c.rhodecode_name: + · ${c.rhodecode_name} + %endif <%def name="breadcrumbs_links()"> @@ -23,7 +26,7 @@ ${self.repo_context_bar('switch-to')} %if c.repo_bookmarks: -
${_('Compare bookmarks')}
+
${_('Compare Bookmarks')}
%endif
<%include file='bookmarks_data.html'/> @@ -45,7 +48,8 @@ YUE.on('compare_bookmarks','click',funct }); // main table sorting var myColumnDefs = [ - {key:"name",label:"${_('Name')}",sortable:true}, + {key:"name",label:"${_('Name')}",sortable:true, + sortOptions: { sortFunction: nameSort }}, {key:"date",label:"${_('Date')}",sortable:true, sortOptions: { sortFunction: dateSort }}, {key:"author",label:"${_('Author')}",sortable:true}, @@ -60,9 +64,12 @@ myDataSource.responseType = YAHOO.util.D myDataSource.responseSchema = { fields: [ + {key:"raw_name"}, {key:"name"}, + {key:"raw_date"}, {key:"date"}, {key:"author"}, + {key:"last_rev_raw"}, {key:"revision"}, {key:"compare"}, ]