Browse Source

removed 'test' word from archive button for files

Come 8 years ago
parent
commit
de33f3409e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tracim/tracim/templates/file/toolbar.mak

+ 4 - 4
tracim/tracim/templates/file/toolbar.mak View File

@@ -11,28 +11,28 @@
11 11
 
12 12
     <% download_url = tg.url('/workspaces/{}/folders/{}/files/{}/download?revision_id={}'.format(result.file.workspace.id, result.file.parent.id,result.file.id,result.file.selected_revision)) %>
13 13
     <% edit_disabled = ('', 'disabled')[file.selected_revision!='latest' or file.status.id[:6]=='closed'] %>
14
-    <% delete_or_archive_disabled = ('', 'disabled')[file.selected_revision!='latest'] %> 
14
+    <% delete_or_archive_disabled = ('', 'disabled')[file.selected_revision!='latest'] %>
15 15
     % if h.user_role(user, workspace)>1:
16 16
         <div class="btn-group btn-group-vertical">
17 17
             <a title="${_('Edit current file')}" class="btn btn-default ${edit_disabled}" data-toggle="modal" data-target="#file-edit-modal-dialog" data-remote="${tg.url('/workspaces/{}/folders/{}/files/{}/edit'.format(file.workspace.id, file.parent.id, file.id))}" >${ICON.FA_FW('fa fa-edit t-less-visible')} ${_('Edit')}</a>
18 18
         </div>
19 19
         <p></p>
20 20
     % endif
21
-    
21
+
22 22
     <div class="btn-group btn-group-vertical">
23 23
         <a href="${download_url}" role="button" class="btn btn-default" data-toggle="modal" title="${_('Download the file')}">${ICON.FA('fa fa-download t-less-visible')} ${_('Download')}</a>
24 24
         <a href="#file-versions" role="button" class="btn btn-default" data-toggle="modal" title="${_('View versions of the file')}">${ICON.FA('fa fa-history t-less-visible')} ${_('Revisions')}</a>
25 25
 ## RESTORE LINKS IF REQUIRED        <a href="#file-associated-links" role="button" class="btn btn-default" data-toggle="modal" title="${_('View all links')}">${TIM.ICO(32, 'apps/internet-web-browser')}</a>
26 26
     </div>
27 27
     <p></p>
28
-    
28
+
29 29
     % if user.profile.id>=3 or h.user_role(user, workspace)>=4:
30 30
         ## if the user can see the toolbar, it means he is the workspace manager.
31 31
         ## So now, we need to know if he alsa has right to delete workspaces
32 32
         <div class="btn-group btn-group-vertical">
33 33
             ## SHOW_ARCHIVE_BUTTON__BUG_#81
34 34
             <a title="${_('Archive file')}" class="btn btn-default ${delete_or_archive_disabled}" href="${tg.url('/workspaces/{}/folders/{}/files/{}/put_archive'.format(file.workspace.id, file.parent.id, file.id))}">
35
-                ${ICON.FA_FW('fa fa-archive t-less-visible')} ${_('Archive')}test
35
+                ${ICON.FA_FW('fa fa-archive t-less-visible')} ${_('Archive')}
36 36
             </a>
37 37
             <a title="${_('Delete file')}" class="btn btn-default ${delete_or_archive_disabled}" href="${tg.url('/workspaces/{}/folders/{}/files/{}/put_delete'.format(file.workspace.id, file.parent.id, file.id))}">
38 38
                 ${ICON.FA_FW('fa fa-trash t-less-visible')} ${_('Delete')}