# HG changeset patch
# User Andrew Shadura <[email protected]>
# Date 1426849012 -3600
#      Fri Mar 20 11:56:52 2015 +0100
# Node ID 41aeb0a9ab615ccf672720bb218f2fb8cf21f58f
# Parent  b2ecf8a21929c129acb9681a0cf924746914dab0
template: action buttons shouldn't have .btn-success unless we mean it

diff --git a/kallithea/templates/index_base.html 
b/kallithea/templates/index_base.html
--- a/kallithea/templates/index_base.html
+++ b/kallithea/templates/index_base.html
@@ -17,12 +17,12 @@
                 %>
                 %if h.HasPermissionAny('hg.admin','hg.create.repository')() or 
(group_admin or (group_write and create_on_write)):
                   %if c.group:
-                        <a 
href="${h.url('new_repo',parent_group=c.group.group_id)}" class="btn btn-small 
btn-success"><i class="icon-plus"></i> ${_('Add Repository')}</a>
+                        <a 
href="${h.url('new_repo',parent_group=c.group.group_id)}" class="btn 
btn-small"><i class="icon-plus"></i> ${_('Add Repository')}</a>
                         %if h.HasPermissionAny('hg.admin')() or 
h.HasRepoGroupPermissionAny('group.admin')(c.group.group_name):
                             <a href="${h.url('new_repos_group', 
parent_group=c.group.group_id)}" class="btn btn-small"><i 
class="icon-plus"></i> ${_(u'Add Repository Group')}</a>
                         %endif
                   %else:
-                    <a href="${h.url('new_repo')}" class="btn btn-small 
btn-success"><i class="icon-plus"></i> ${_('Add Repository')}</a>
+                    <a href="${h.url('new_repo')}" class="btn btn-small"><i 
class="icon-plus"></i> ${_('Add Repository')}</a>
                     %if h.HasPermissionAny('hg.admin')():
                         <a href="${h.url('new_repos_group')}" class="btn 
btn-small"><i class="icon-plus"></i> ${_(u'Add Repository Group')}</a>
                     %endif
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to