2014-06-30 12:08:54 -04:00
|
|
|
|
extends ../layout
|
|
|
|
|
|
2014-08-07 11:09:31 -04:00
|
|
|
|
block vars
|
|
|
|
|
- var meta = template.description
|
|
|
|
|
- title = title + " - LaTeX Template"
|
|
|
|
|
|
2014-06-30 12:08:54 -04:00
|
|
|
|
block content
|
|
|
|
|
.content.content-alt
|
|
|
|
|
.container
|
|
|
|
|
.row
|
|
|
|
|
.page-header
|
2014-07-22 10:56:36 -04:00
|
|
|
|
h2
|
2014-08-01 07:34:53 -04:00
|
|
|
|
a(href="/templates") #{translate("templates")}
|
2014-07-22 10:56:36 -04:00
|
|
|
|
| ›
|
2014-07-23 07:16:18 -04:00
|
|
|
|
- if(tag)
|
|
|
|
|
a(href=tag.tagPagePath) #{tag.name}
|
|
|
|
|
| ›
|
2014-07-22 10:56:36 -04:00
|
|
|
|
| #{template.name}
|
2014-07-22 12:24:32 -04:00
|
|
|
|
.row
|
|
|
|
|
.col-md-6
|
|
|
|
|
.entry
|
|
|
|
|
.row
|
2014-08-12 07:02:09 -04:00
|
|
|
|
.col-md-12.template-large-pdf-preview
|
|
|
|
|
a(href="#{template.pdfUrl}?inline=true&name=#{template.name}")
|
2014-07-28 07:50:56 -04:00
|
|
|
|
img(src="#{template.previewUrl}")
|
2014-06-30 12:08:54 -04:00
|
|
|
|
|
2014-07-22 12:24:32 -04:00
|
|
|
|
.col-md-6
|
|
|
|
|
.template-details-section
|
2014-08-01 07:34:53 -04:00
|
|
|
|
h3 #{translate("about")}
|
2014-07-22 12:24:32 -04:00
|
|
|
|
div !{template.description}
|
2014-08-08 09:05:40 -04:00
|
|
|
|
div(ng-controller="openInSlController", ng-cloak).download-buttons
|
2014-07-22 12:24:32 -04:00
|
|
|
|
a.btn.btn-primary.btn-large(href=template.open_in_sharelatex_url, ng-click='open()', ng-disabled="isDisabled", rel='nofollow') {{openInSlText}}
|
|
|
|
|
|
|
2014-06-30 12:08:54 -04:00
|
|
|
|
|
2014-07-22 12:24:32 -04:00
|
|
|
|
a.btn.btn-default(
|
2014-08-12 07:02:09 -04:00
|
|
|
|
href="#{template.zipUrl}?name=#{template.name}",
|
2014-07-22 12:24:32 -04:00
|
|
|
|
rel='nofollow',
|
2014-08-08 09:05:40 -04:00
|
|
|
|
ng-click='downloadZip()',
|
|
|
|
|
tooltip-placement="bottom",
|
2014-08-20 09:31:44 -04:00
|
|
|
|
tooltip="#{translate('download_zip_file')}"
|
2014-07-22 12:24:32 -04:00
|
|
|
|
)
|
|
|
|
|
i.fa.fa-cloud-download
|
|
|
|
|
.template-details-section.social_buttons
|
|
|
|
|
.addthis_toolbox.addthis_default_style.addthis_32x32_style
|
|
|
|
|
a.addthis_button_facebook
|
|
|
|
|
a.addthis_button_twitter
|
|
|
|
|
a.addthis_button_google_plusone_share
|
|
|
|
|
a.addthis_button_compact
|
|
|
|
|
script(type='text/javascript', src='//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-517c16586439faa7')
|
2014-06-30 12:08:54 -04:00
|
|
|
|
|
2014-08-01 07:34:53 -04:00
|
|
|
|
h3 #{translate("comment")}
|
2014-07-22 12:24:32 -04:00
|
|
|
|
#disqus_thread
|
|
|
|
|
script(type='text/javascript').
|
|
|
|
|
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
|
|
|
|
var disqus_shortname = 'sharelatextemplates'; // required: replace example with your forum shortname
|
|
|
|
|
/* * * DON'T EDIT BELOW THIS LINE * * */
|
|
|
|
|
(function() {
|
|
|
|
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
|
|
|
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
|
|
|
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
|
|
|
})();
|
|
|
|
|
noscript
|
|
|
|
|
| Please enable JavaScript to view the
|
|
|
|
|
a(href='http://disqus.com/?ref_noscript') comments powered by Disqus.
|
|
|
|
|
a.dsq-brlink(href='http://disqus.com')
|
|
|
|
|
| comments powered by
|
|
|
|
|
span.logo-disqus Disqus
|
2014-07-01 09:25:32 -04:00
|
|
|
|
|
|
|
|
|
|