allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [08/18] git commit: [#7278] ticket:612 Make table prettier
Date Thu, 21 Aug 2014 19:47:20 GMT
[#7278] ticket:612 Make table prettier


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/6a4654bc
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/6a4654bc
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/6a4654bc

Branch: refs/heads/master
Commit: 6a4654bce40d2103843104a0918319ee33f8efba
Parents: ec2de75
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Fri Aug 1 13:47:21 2014 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Aug 21 18:49:55 2014 +0000

----------------------------------------------------------------------
 Allura/allura/templates/site_admin_search_projects.html | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/6a4654bc/Allura/allura/templates/site_admin_search_projects.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/site_admin_search_projects.html b/Allura/allura/templates/site_admin_search_projects.html
index ecb89da..b5debc5 100644
--- a/Allura/allura/templates/site_admin_search_projects.html
+++ b/Allura/allura/templates/site_admin_search_projects.html
@@ -39,7 +39,7 @@
       <tr>
         <td><a href="{{ p['url_s'] }}">{{ p['shortname_s'] }}</a></td>
         <td>{{ p['name_s'] }}</td>
-        <td>{{ p['registration_dt'] }}</td>
+        <td>{{ h.ago_string(p['registration_dt']) }}</td>
         <td>{{ 'Yes' if p['deleted_b'] else 'No' }}</td>
         <td>
           <a href="{{ p['url_s'] + 'admin/groups/' }}">Members</a><br>
@@ -55,3 +55,12 @@
     {{c.page_size.display(limit=limit, page=page, count=count)}}
   </div>
 {% endblock %}
+
+{% block extra_css %}
+<style>
+  table th {
+    text-align: left;
+    padding: 5px 10px;
+  }
+</style>
+{% endblock %}


Mime
View raw message