From 33346ddea950c376066e88c54d15e779a658e070 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 6 Sep 2018 19:06:09 +0200 Subject: [PATCH] Do not display article meta links text at all (because it's not important to know that there is a raw download link if you want to print it). --- .../app/views/ticket_zoom/article_view.jst.eco | 2 ++ app/assets/stylesheets/print.scss | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco index b15af6400..348805aa2 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco @@ -93,6 +93,7 @@
<%- @Icon(@article.type.name, 'article-meta-icon') %> <%- @T(@article.type.name) %> +
diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss index 44d3c7ea2..291d45ed2 100644 --- a/app/assets/stylesheets/print.scss +++ b/app/assets/stylesheets/print.scss @@ -160,17 +160,17 @@ th.js-tableHead:not([data-column-key="icon"]) { background: none; border: 1px dashed hsl(240,2%,60%); padding: 11px 10px 1px; - + &.top { border-bottom-width: 0; } - + &.bottom { border-top-width: 0; padding-top: 7px; padding-bottom: 3px; } - + &-clip { height: auto !important; } @@ -180,6 +180,10 @@ th.js-tableHead:not([data-column-key="icon"]) { } } +.article-meta-links { + display: none; +} + .article-content { color: inherit; }