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

changed template image paths to use correct ones

Henry Oswald 12 лет назад
Родитель
Сommit
d4be1ba7aa

+ 2 - 4
services/web/app/views/templates/index.jade

@@ -25,8 +25,7 @@ block content
 								.row
 									a(ng-href='{{hit.url}}')
 										.col-md-3
-											img(src="https://d1hk1zhcb5hn6i.cloudfront.net/52fb8c6f34a287a85245b493/v/0/pdf-converted-cache/style-thumbnail")
-											//img(ng-src='{{hit.image_url}}')
+											img(ng-src='{{hit.image_url}}')
 										.col-md-7
 											h1(ng-bind-html='hit.name')
 											p(ng-bind-html='hit.description')
@@ -44,8 +43,7 @@ block content
 							-each template in tag.exampleTemplates
 								.col-md-3.template-thumbnail
 									a(href=template.templatePagePath ? template.templatePagePath : template.canonicalUrl).thumbnail
-										//- img(src=template.thumbnailUrl)
-										img(src="https://d1hk1zhcb5hn6i.cloudfront.net/52fb8c6f34a287a85245b493/v/0/pdf-converted-cache/style-thumbnail")
+										img(src=template.thumbnailUrl)
 										div.caption
 											h3.txt-middle #{template.name}
 

+ 1 - 2
services/web/app/views/templates/tag.jade

@@ -14,7 +14,6 @@ block content
 						a(href=template.templatePagePath || template.canonicalUrl) 
 							.col-md-3.template-thumbnail
 								a(href=template.templatePagePath ? template.templatePagePath : template.canonicalUrl).thumbnail
-									//- img(src=template.thumbnailUrl)
-									img(src="https://d1hk1zhcb5hn6i.cloudfront.net/52fb8c6f34a287a85245b493/v/0/pdf-converted-cache/style-thumbnail")
+									img(src=template.thumbnailUrl)
 									div.caption
 										h3 #{template.name}

+ 1 - 2
services/web/app/views/templates/template.jade

@@ -18,8 +18,7 @@ block content
 							.row
 								.col-md-12
 									a(href=template.pdfUrl)
-										//img(src="#{template.previewUrl}")
-										img(src="https://d1hk1zhcb5hn6i.cloudfront.net/52fb89a333621a613683ec95/v/1/pdf-converted-cache/style-preview")
+										img(src="#{template.previewUrl}")
 
 					.col-md-6
 						.template-details-section