diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js
--- a/rhodecode/public/js/rhodecode.js
+++ b/rhodecode/public/js/rhodecode.js
@@ -646,6 +646,12 @@ var get_group_name = function(node){
var name = node.firstElementChild.children[1].innerHTML;
return name
}
+var get_date = function(node){
+ console.log(node.firstElementChild)
+ var date_ = node.firstElementChild.innerHTML;
+ return date_
+}
+
var revisionSort = function(a, b, desc, field) {
var a_ = fromHTML(a.getData(field));
@@ -692,4 +698,16 @@ var groupNameSort = function(a, b, desc,
var comp = YAHOO.util.Sort.compare;
var compState = comp(a_, b_, desc);
return compState;
+};
+var dateSort = function(a, b, desc, field) {
+ var a_ = fromHTML(a.getData(field));
+ var b_ = fromHTML(b.getData(field));
+
+ // extract name from table
+ a_ = get_date(a_)
+ b_ = get_date(b_)
+
+ var comp = YAHOO.util.Sort.compare;
+ var compState = comp(a_, b_, desc);
+ return compState;
};
\ No newline at end of file
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
@@ -30,11 +30,49 @@
+
+
%def>
\ No newline at end of file
diff --git a/rhodecode/templates/bookmarks/bookmarks_data.html b/rhodecode/templates/bookmarks/bookmarks_data.html
--- a/rhodecode/templates/bookmarks/bookmarks_data.html
+++ b/rhodecode/templates/bookmarks/bookmarks_data.html
@@ -1,11 +1,14 @@
-%if c.repo_bookmarks:
-
+%if c.repo_bookmarks:
+
+
+
- ${_('name')} |
- ${_('date')} |
- ${_('author')} |
- ${_('revision')} |
+ ${_('Name')} |
+ ${_('Date')} |
+ ${_('Author')} |
+ ${_('Revision')} |
+
%for cnt,book in enumerate(c.repo_bookmarks.items()):
@@ -24,6 +27,7 @@
|
%endfor
+
%else:
${_('There are no bookmarks yet')}
%endif
\ No newline at end of file
diff --git a/rhodecode/templates/branches/branches.html b/rhodecode/templates/branches/branches.html
--- a/rhodecode/templates/branches/branches.html
+++ b/rhodecode/templates/branches/branches.html
@@ -30,11 +30,48 @@
+
%def>
\ No newline at end of file
diff --git a/rhodecode/templates/branches/branches_data.html b/rhodecode/templates/branches/branches_data.html
--- a/rhodecode/templates/branches/branches_data.html
+++ b/rhodecode/templates/branches/branches_data.html
@@ -1,11 +1,14 @@
%if c.repo_branches:
-
+
+
+
${_('name')} |
${_('date')} |
${_('author')} |
${_('revision')} |
+
%for cnt,branch in enumerate(c.repo_branches.items()):
@@ -43,6 +46,7 @@
%endfor
%endif
|
+
%else:
${_('There are no branches yet')}
%endif
\ No newline at end of file
diff --git a/rhodecode/templates/tags/tags.html b/rhodecode/templates/tags/tags.html
--- a/rhodecode/templates/tags/tags.html
+++ b/rhodecode/templates/tags/tags.html
@@ -30,11 +30,47 @@
%def>
\ No newline at end of file
diff --git a/rhodecode/templates/tags/tags_data.html b/rhodecode/templates/tags/tags_data.html
--- a/rhodecode/templates/tags/tags_data.html
+++ b/rhodecode/templates/tags/tags_data.html
@@ -1,11 +1,14 @@
-%if c.repo_tags:
-
+%if c.repo_tags:
+
%else:
${_('There are no tags yet')}
%endif
\ No newline at end of file