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).

This commit is contained in:
Martin Edenhofer 2018-09-06 19:06:09 +02:00
parent 7236e2e703
commit 33346ddea9
2 changed files with 9 additions and 3 deletions

View file

@ -93,6 +93,7 @@
<div class="article-meta-value"> <div class="article-meta-value">
<%- @Icon(@article.type.name, 'article-meta-icon') %> <%- @Icon(@article.type.name, 'article-meta-icon') %>
<%- @T(@article.type.name) %> <%- @T(@article.type.name) %>
<div class="article-meta-links">
<% if @links: %> <% if @links: %>
<% count = 0 %> <% count = 0 %>
<% for link in @links: %> <% for link in @links: %>
@ -101,6 +102,7 @@
<% count =+ 1 %> <% count =+ 1 %>
<% end %> <% end %>
<% end %> <% end %>
</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -160,17 +160,17 @@ th.js-tableHead:not([data-column-key="icon"]) {
background: none; background: none;
border: 1px dashed hsl(240,2%,60%); border: 1px dashed hsl(240,2%,60%);
padding: 11px 10px 1px; padding: 11px 10px 1px;
&.top { &.top {
border-bottom-width: 0; border-bottom-width: 0;
} }
&.bottom { &.bottom {
border-top-width: 0; border-top-width: 0;
padding-top: 7px; padding-top: 7px;
padding-bottom: 3px; padding-bottom: 3px;
} }
&-clip { &-clip {
height: auto !important; height: auto !important;
} }
@ -180,6 +180,10 @@ th.js-tableHead:not([data-column-key="icon"]) {
} }
} }
.article-meta-links {
display: none;
}
.article-content { .article-content {
color: inherit; color: inherit;
} }