changeset 4600:f14497d6305e

base: change icon-code-fork menu item to use icon-fork
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 14 Jul 2014 23:59:44 -0500
parents be3823704f21
children 27504cac4127
files kallithea/lib/helpers.py kallithea/templates/data_table/_dt_elements.html kallithea/templates/summary/summary.html kallithea/templates/switch_to_list.html
diffstat 4 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/helpers.py	Mon Jul 14 23:55:15 2014 -0500
+++ b/kallithea/lib/helpers.py	Mon Jul 14 23:59:44 2014 -0500
@@ -777,9 +777,9 @@
     'user_created_repo':           (_('[created] repository'),
                                     None, 'icon-plus icon-plus-colored'),
     'user_created_fork':           (_('[created] repository as fork'),
-                                    None, 'icon-code-fork'),
+                                    None, 'icon-fork'),
     'user_forked_repo':            (_('[forked] repository'),
-                                    get_fork_name, 'icon-code-fork'),
+                                    get_fork_name, 'icon-fork'),
     'user_updated_repo':           (_('[updated] repository'),
                                     None, 'icon-pencil icon-pencil-colored'),
     'user_downloaded_archive':      (_('[downloaded] archive from repository'),
@@ -789,7 +789,7 @@
     'admin_created_repo':          (_('[created] repository'),
                                     None, 'icon-plus icon-plus-colored'),
     'admin_forked_repo':           (_('[forked] repository'),
-                                    None, 'icon-code-fork icon-fork-colored'),
+                                    None, 'icon-fork icon-fork-colored'),
     'admin_updated_repo':          (_('[updated] repository'),
                                     None, 'icon-pencil icon-pencil-colored'),
     'admin_created_user':          (_('[created] user'),
--- a/kallithea/templates/data_table/_dt_elements.html	Mon Jul 14 23:55:15 2014 -0500
+++ b/kallithea/templates/data_table/_dt_elements.html	Mon Jul 14 23:59:44 2014 -0500
@@ -34,7 +34,7 @@
     <li>
        <a title="${_('Fork')}" href="${h.url('repo_fork_home',repo_name=repo_name)}">
        <span class="icon">
-           <i class="icon-code-fork"></i>
+           <i class="icon-fork"></i>
        </span>
        <span>${_('Fork')}</span>
        </a>
@@ -84,7 +84,7 @@
     ${get_name(name)}
     </a>
     %if fork_of:
-      <a href="${h.url('summary_home',repo_name=fork_of.repo_name)}"><i class="icon-code-fork"></i></a>
+      <a href="${h.url('summary_home',repo_name=fork_of.repo_name)}"><i class="icon-fork"></i></a>
     %endif
     %if rstate == 'repo_state_pending':
       <i class="icon-sliders" style="color: #036185;" title="${_('Repository creating in progress...')}"></i>
--- a/kallithea/templates/summary/summary.html	Mon Jul 14 23:55:15 2014 -0500
+++ b/kallithea/templates/summary/summary.html	Mon Jul 14 23:59:44 2014 -0500
@@ -22,14 +22,14 @@
     ##FORK
     %if c.db_repo.fork:
     <span>
-        - <i class="icon-code-fork"></i> ${_('Fork of')} "<a href="${h.url('summary_home',repo_name=c.db_repo.fork.repo_name)}">${c.db_repo.fork.repo_name}</a>"
+        - <i class="icon-fork"></i> ${_('Fork of')} "<a href="${h.url('summary_home',repo_name=c.db_repo.fork.repo_name)}">${c.db_repo.fork.repo_name}</a>"
     </span>
     %endif
 
     ##REMOTE
     %if c.db_repo.clone_uri:
     <span>
-       - <i class="icon-code-fork"></i> ${_('Clone from')} "<a href="${h.url(str(h.hide_credentials(c.db_repo.clone_uri)))}">${h.hide_credentials(c.db_repo.clone_uri)}</a>"
+       - <i class="icon-fork"></i> ${_('Clone from')} "<a href="${h.url(str(h.hide_credentials(c.db_repo.clone_uri)))}">${h.hide_credentials(c.db_repo.clone_uri)}</a>"
     <span>
     %endif
 </%def>
@@ -153,7 +153,7 @@
             </li>
             <li>
               <a title="${_('Forks')}" href="${h.url('repo_forks_home',repo_name=c.repo_name)}">
-                <i class="icon-code-fork"></i> ${_('Forks')}
+                <i class="icon-fork"></i> ${_('Forks')}
                 <span class="stats-bullet">${c.repository_forks}</span>
               </a>
             </li>
--- a/kallithea/templates/switch_to_list.html	Mon Jul 14 23:55:15 2014 -0500
+++ b/kallithea/templates/switch_to_list.html	Mon Jul 14 23:59:44 2014 -0500
@@ -1,6 +1,6 @@
 ## -*- coding: utf-8 -*-
 <li>
-    <a href="${h.url('branches_home',repo_name=c.repo_name)}" class="childs"><i class="icon-code-fork"></i> ${'%s (%s)' % (_('Branches'),len(c.db_repo_scm_instance.branches.values()))}</a>
+    <a href="${h.url('branches_home',repo_name=c.repo_name)}" class="childs"><i class="icon-fork"></i> ${'%s (%s)' % (_('Branches'),len(c.db_repo_scm_instance.branches.values()))}</a>
     <ul>
     %if c.db_repo_scm_instance.branches.values():
         %for cnt,branch in enumerate(c.db_repo_scm_instance.branches.items()):
@@ -13,7 +13,7 @@
 </li>
 %if c.db_repo_scm_instance.closed_branches.values():
 <li>
-    <a href="${h.url('branches_home',repo_name=c.repo_name)}" class="childs"><i class="icon-code-fork"></i> ${'%s (%s)' % (_('Closed Branches'),len(c.db_repo_scm_instance.closed_branches.values()))}</a>
+    <a href="${h.url('branches_home',repo_name=c.repo_name)}" class="childs"><i class="icon-fork"></i> ${'%s (%s)' % (_('Closed Branches'),len(c.db_repo_scm_instance.closed_branches.values()))}</a>
     <ul>
         %for cnt,branch in enumerate(c.db_repo_scm_instance.closed_branches.items()):
             <li><div><pre>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=(branch[0] if '/' not in branch[0] else branch[1]), at=branch[0]))}</pre></div></li>