mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
convert topic summary links to <table>
This commit is contained in:
parent
b8357aa90a
commit
7a65ee3282
3 changed files with 14 additions and 20 deletions
|
@ -57,17 +57,22 @@
|
|||
|
||||
{{#if infoLinks}}
|
||||
<section class='links'>
|
||||
<ul class='topic-links'>
|
||||
|
||||
<table class='topic-links'>
|
||||
{{#groupedEach infoLinks}}
|
||||
<li>
|
||||
<tr>
|
||||
<td>
|
||||
<span class='badge badge-notification clicks' title='{{i18n topic_map.clicks count=clicks}}'>{{clicks}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{unbound url}}" target="_blank" class='topic-link track-link' data-user-id="{{unbound user_id}}" data-ignore-post-id="true" title="{{unbound url}}">
|
||||
{{#if title}}{{title}}{{else}}{{shorten-url url}}{{/if}}
|
||||
</a>
|
||||
{{link-domain this}}
|
||||
</li>
|
||||
</td>
|
||||
</tr>
|
||||
{{/groupedEach}}
|
||||
</ul>
|
||||
</table>
|
||||
|
||||
{{#if showAllLinksControls}}
|
||||
<div class='link-summary'>
|
||||
|
|
|
@ -342,10 +342,6 @@ a.star {
|
|||
&:hover {border: 1px solid $primary !important;}
|
||||
}
|
||||
|
||||
.topic-links li {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-bottom: 4px;
|
||||
color: $primary;
|
||||
|
@ -428,16 +424,13 @@ a.star {
|
|||
border-top: 2px solid scale-color-diff();
|
||||
}
|
||||
|
||||
.participants { // PMs //
|
||||
.user {float: left; margin: 7px 20px 7px 0;}
|
||||
}
|
||||
.participants { // PMs //
|
||||
.user {float: left; margin: 7px 20px 7px 0;}
|
||||
}
|
||||
|
||||
.topic-links {
|
||||
li > a {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.badge-notification {
|
||||
margin: 0 0 4px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
.buttons {
|
||||
|
|
|
@ -165,10 +165,6 @@ a.star {
|
|||
border-radius: 0 4px 0 4px;
|
||||
}
|
||||
|
||||
.topic-links li {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
margin: 30px 10px 10px 10px;
|
||||
background: scale-color(scale-color-diff(), $lightness: 40%);
|
||||
|
||||
|
@ -259,7 +255,7 @@ a.star {
|
|||
|
||||
.topic-links {
|
||||
.badge-notification {
|
||||
margin: 0 0 4px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
.buttons {
|
||||
|
|
Loading…
Reference in a new issue