Browse Source

ngcloak template button while loading

James Allen 12 years ago
parent
commit
8320970a29
1 changed files with 5 additions and 8 deletions
  1. 5 8
      services/web/app/views/templates/template.jade

+ 5 - 8
services/web/app/views/templates/template.jade

@@ -28,20 +28,17 @@ block content
 						.template-details-section
 							h3 #{translate("about")}
 							div !{template.description}
-							div(ng-controller="openInSlController").download-buttons
+							div(ng-controller="openInSlController", ng-cloak).download-buttons
 								a.btn.btn-primary.btn-large(href=template.open_in_sharelatex_url, ng-click='open()', ng-disabled="isDisabled", rel='nofollow') {{openInSlText}}
 								|  
 
 								a.btn.btn-default(
-									href=template.zipUrl, 
+									href=template.zipUrl,
 									rel='nofollow', 
-									ng-click='downloadZip()', 
-									data-toggle="tooltip", 
-									data-placement="bottom", 
-									title="", 
-									data-original-title="Download .zip File"
+									ng-click='downloadZip()',
+									tooltip-placement="bottom",
+									tooltip="Download .zip File"
 								)
-
 									i.fa.fa-cloud-download
 						.template-details-section.social_buttons
 							.addthis_toolbox.addthis_default_style.addthis_32x32_style