Pārlūkot izejas kodu

Closes #52: "Download" button for files on right column does nothing

Bastien Sevajol (Algoo) 8 gadus atpakaļ
vecāks
revīzija
23a2980b4e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tracim/tracim/templates/file/toolbar.mak

+ 1 - 1
tracim/tracim/templates/file/toolbar.mak Parādīt failu

@@ -20,7 +20,7 @@
20 20
     % endif
21 21
     
22 22
     <div class="btn-group btn-group-vertical">
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>
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>