Browse Source

[#350] btn add new member is now more clear

Skylsmoi 6 years ago
parent
commit
bf2983f4c7

+ 1 - 1
tracim/tracim/public/assets/css/dashboard.css View File

@@ -603,7 +603,7 @@ div.mce-fullscreen {
603 603
   color: #31708f;
604 604
 }
605 605
 .content__home__tab__content-unread {
606
-    float: right;
606
+  float: right;
607 607
   margin-bottom: 15px;
608 608
 }
609 609
 

+ 1 - 1
tracim/tracim/templates/admin/workspace_getone.mak View File

@@ -53,7 +53,7 @@
53 53
         % if potential_new_user_nb<=0:
54 54
             ${TITLE.H3(_('Members'), 'fa-user', 'workspace-members')}
55 55
         % else:
56
-            ${TITLE.H3_WITH_BUTTON(fake_api.current_user, result.workspace, 'workspace-members', _('Members'), 'add-role-from-existing-user-form', _('add one...'), 'fa-user')}
56
+            ${TITLE.H3_WITH_BUTTON(fake_api.current_user, result.workspace, 'workspace-members', _('Members'), 'add-role-from-existing-user-form', _('add one...'), 'fa-user', 'btn btn-link')}
57 57
 
58 58
             <div id="add-role-from-existing-user-form" class="collapse col-sm-9">
59 59
                 <div class="pod-inline-form">

+ 2 - 2
tracim/tracim/templates/widgets/title.mak View File

@@ -7,7 +7,7 @@
7 7
         ${label}
8 8
     </h3>
9 9
 </%def>
10
-<%def name="H3_WITH_BUTTON(current_user, workspace, dom_id, label, action_dom_id='', action_label='', fa_icon='')">
10
+<%def name="H3_WITH_BUTTON(current_user, workspace, dom_id, label, action_dom_id='', action_label='', fa_icon='', custom_classes='')">
11 11
     <h3 id="${dom_id}">
12 12
         ${ICON.FA('t-less-visible '+fa_icon) if fa_icon else ''}
13 13
         ${label}
@@ -15,7 +15,7 @@
15 15
         ## Button is shown for contributors (or more), not for readers
16 16
         % if h.user_role(current_user, workspace)>1:
17 17
             % if action_dom_id and action_label:
18
-                <small class="t-spacer-left">${BUTTON.DATA_TARGET_AS_TEXT(action_dom_id, action_label)}</small>
18
+                <small class="t-spacer-left">${BUTTON.DATA_TARGET_AS_TEXT(action_dom_id, action_label, custom_classes)}</small>
19 19
             % endif
20 20
         % endif
21 21
     </h3>