Просмотр исходного кода

removed btn from sidebar right in home page

Come 7 лет назад
Родитель
Сommit
73cd435b49
1 измененных файлов: 11 добавлений и 29 удалений
  1. 11 29
      tracim/tracim/templates/user_toolbars.mak

+ 11 - 29
tracim/tracim/templates/user_toolbars.mak Просмотреть файл

@@ -37,35 +37,17 @@
37 37
 
38 38
 <%def name="USER_ME(current_user)">
39 39
     ## SIDEBAR RIGHT
40
-    <div>
41
-        <div class="btn-group btn-group-vertical">
42
-            <%
43
-                user_edit_url = tg.url('/user/{}/edit'.format(current_user.id), {'next_url': '/home'})
44
-                user_password_edit_url = tg.url('/user/{}/password/edit'.format(current_user.id))
45
-            %>
46
-            <a title="${_('Edit my profile')}" class="btn btn-default edit-profile-btn" data-toggle="modal" data-target="#user-edit-modal-dialog" data-remote="${user_edit_url}" >${ICON.FA('fa-edit t-less-visible')} ${_('Edit my profile')}</a>
47
-
48
-            % if tmpl_context.auth_is_internal:
49
-                <a title="${_('Change password')}" class="btn btn-default change-password-btn" data-toggle="modal" data-target="#user-edit-password-modal-dialog" data-remote="${user_password_edit_url}" >${ICON.FA('fa-key t-less-visible')} ${_('Password')}</a>
50
-            % endif
51
-
52
-        </div>
53
-        <p></p>
54
-        <h3 class="t-spacer-above" style="margin-top: 1em;">
55
-            <i class="fa fa-flash"></i> ${_('Go to...')}
56
-        </h3>
57
-
58
-        <div class="btn-group btn-group-vertical">
59
-            <%
60
-                user_edit_url = tg.url('/user/{}/edit'.format(current_user.id), {'next_url': '/home'})
61
-                user_password_edit_url = tg.url('/user/{}/password/edit'.format(current_user.id))
62
-            %>
63
-            <a title="${_('Not read')}" class="btn btn-default" href="#unread-content-panel" >${ICON.FA('fa-fw fa-eye-slash t-less-visible')} ${_('Not Read')}</a>
64
-            <a title="${_('Recent Activity')}" class="btn btn-default" href="#recent-activity-panel" >${ICON.FA('fa-fw fa-line-chart t-less-visible')} ${_('Activity')}</a>
65
-            <a title="${_('My Workspaces')}" class="btn btn-default" href="#workspaces-panel" >${ICON.FA('fa-fw fa-bank t-less-visible')} ${_('Spaces')}</a>
66
-        </div>
67
-        <p></p>
68
-    </div> <!-- # End of side bar right -->
40
+    <div class="btn-group btn-group-vertical">
41
+        <%
42
+            user_edit_url = tg.url('/user/{}/edit'.format(current_user.id), {'next_url': '/home'})
43
+            user_password_edit_url = tg.url('/user/{}/password/edit'.format(current_user.id))
44
+        %>
45
+        <a title="${_('Edit my profile')}" class="btn btn-default edit-profile-btn" data-toggle="modal" data-target="#user-edit-modal-dialog" data-remote="${user_edit_url}" >${ICON.FA('fa-edit t-less-visible')} ${_('Edit my profile')}</a>
46
+
47
+        % if tmpl_context.auth_is_internal:
48
+            <a title="${_('Change password')}" class="btn btn-default change-password-btn" data-toggle="modal" data-target="#user-edit-password-modal-dialog" data-remote="${user_password_edit_url}" >${ICON.FA('fa-key t-less-visible')} ${_('Password')}</a>
49
+        % endif
50
+    </div><!-- # End of side bar right -->
69 51
     ## SIDEBAR RIGHT [END]
70 52
 </%def>
71 53