You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/10/23 16:49:22 UTC

[22/28] allura git commit: [#7924] ticket:853 Use fa-list for browse commits

[#7924] ticket:853 Use fa-list for browse commits


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

Branch: refs/heads/ib/7924
Commit: 9556544702d91f4c9e0aeae2d73a2a28ae5a4568
Parents: 3341ac5
Author: Igor Bondarenko <je...@gmail.com>
Authored: Thu Oct 22 19:44:26 2015 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Thu Oct 22 19:44:26 2015 +0300

----------------------------------------------------------------------
 Allura/allura/lib/app_globals.py | 1 +
 Allura/allura/lib/repository.py  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/95565447/Allura/allura/lib/app_globals.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/app_globals.py b/Allura/allura/lib/app_globals.py
index 4a2995f..1f47330 100644
--- a/Allura/allura/lib/app_globals.py
+++ b/Allura/allura/lib/app_globals.py
@@ -261,6 +261,7 @@ class Globals(object):
             vote_down=Icon('fa fa-minus', 'Vote Down'),
             download=Icon('fa fa-download', 'Download'),
             revert=Icon('fa fa-history', 'Revert'),
+            browse_commits=Icon('fa fa-list', 'Browse Commits'),
             # Permissions
             perm_read=Icon('fa fa-eye', 'Read'),
             perm_update=Icon('fa fa-rotate-left', 'Update'),

http://git-wip-us.apache.org/repos/asf/allura/blob/95565447/Allura/allura/lib/repository.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/repository.py b/Allura/allura/lib/repository.py
index 31e1395..26a1246 100644
--- a/Allura/allura/lib/repository.py
+++ b/Allura/allura/lib/repository.py
@@ -125,7 +125,7 @@ class RepositoryApp(Application):
         if not self.repo or self.repo.status != 'ready':
             return []
         links = [SitemapEntry('Browse Commits', c.app.url +
-                              'commit_browser', ui_icon=g.icons['folder'])]
+                              'commit_browser', ui_icon=g.icons['browse_commits'])]
         if self.forkable and self.repo.status == 'ready' and not self.repo.is_empty():
             links.append(
                 SitemapEntry('Fork', c.app.url + 'fork', ui_icon=g.icons['fork']))