From a32df3c77acb3108d3da86c0860e796e7b87a58d Mon Sep 17 00:00:00 2001 From: bill bittner Date: Mon, 17 Jul 2017 13:59:21 -0700 Subject: [PATCH] removed the details link on show-lite --- public/assets/css/componentStyle.css | 4 ++++ views/partials/trendingAssets.handlebars | 4 ++-- views/showLite.handlebars | 5 ++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/public/assets/css/componentStyle.css b/public/assets/css/componentStyle.css index a7735c32..82174523 100644 --- a/public/assets/css/componentStyle.css +++ b/public/assets/css/componentStyle.css @@ -59,6 +59,10 @@ button.copy-button { float: right; } +.share-option { + margin-bottom: 1em; +} + .metadata-table { font-size: small; border-collapse: collapse; diff --git a/views/partials/trendingAssets.handlebars b/views/partials/trendingAssets.handlebars index 0f94924b..7ce5379a 100644 --- a/views/partials/trendingAssets.handlebars +++ b/views/partials/trendingAssets.handlebars @@ -3,6 +3,7 @@ {{#each trendingAssets}} {{#if this.nsfw}} {{else }} + {{#ifConditional this.fileType '===' 'video/mp4'}} {{else}} - - {{/ifConditional}} + {{/if}} {{/each}} \ No newline at end of file diff --git a/views/showLite.handlebars b/views/showLite.handlebars index cbbe5287..a236d657 100644 --- a/views/showLite.handlebars +++ b/views/showLite.handlebars @@ -1,4 +1,5 @@
+ {{#ifConditional fileInfo.fileType '===' 'video/mp4'}}
- Details -
+
\ No newline at end of file