From a3b2f0575c94a5eb374d26161b33c2437b93d579 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Fri, 20 Oct 2017 16:16:08 -0700 Subject: [PATCH] removed default description on publish and show --- helpers/publishHelpers.js | 2 +- views/partials/assetInfo.handlebars | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helpers/publishHelpers.js b/helpers/publishHelpers.js index e889eb65..b9a24fd8 100644 --- a/helpers/publishHelpers.js +++ b/helpers/publishHelpers.js @@ -119,7 +119,7 @@ module.exports = { } // provide default for description if (description === null || description.trim() === '') { - description = `${name} published via spee.ch`; + description = ''; } // provide default for license if (license === null || license.trim() === '') { diff --git a/views/partials/assetInfo.handlebars b/views/partials/assetInfo.handlebars index 57747ff1..5b87ef66 100644 --- a/views/partials/assetInfo.handlebars +++ b/views/partials/assetInfo.handlebars @@ -1,8 +1,8 @@ -{{#if fileInfo.description}} +{{#ifConditional fileInfo.description '!==' ''}}

{{fileInfo.description}}

-{{/if}} +{{/ifConditional}}