You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/10/28 17:28:24 UTC

[22/35] 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/8e738a8b
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/8e738a8b
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/8e738a8b

Branch: refs/heads/master
Commit: 8e738a8be5ac66441aebb817359a7ea25577e5f6
Parents: 35af1c2
Author: Igor Bondarenko <je...@gmail.com>
Authored: Thu Oct 22 19:44:26 2015 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Tue Oct 27 16:22:11 2015 +0200

----------------------------------------------------------------------
 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/8e738a8b/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/8e738a8b/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']))