convert topic summary links to <table>
This commit is contained in:
parent
b8357aa90a
commit
7a65ee3282
|
@ -57,17 +57,22 @@
|
||||||
|
|
||||||
{{#if infoLinks}}
|
{{#if infoLinks}}
|
||||||
<section class='links'>
|
<section class='links'>
|
||||||
<ul class='topic-links'>
|
|
||||||
|
<table class='topic-links'>
|
||||||
{{#groupedEach infoLinks}}
|
{{#groupedEach infoLinks}}
|
||||||
<li>
|
<tr>
|
||||||
|
<td>
|
||||||
<span class='badge badge-notification clicks' title='{{i18n topic_map.clicks count=clicks}}'>{{clicks}}</span>
|
<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}}">
|
<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}}
|
{{#if title}}{{title}}{{else}}{{shorten-url url}}{{/if}}
|
||||||
</a>
|
</a>
|
||||||
{{link-domain this}}
|
{{link-domain this}}
|
||||||
</li>
|
</td>
|
||||||
|
</tr>
|
||||||
{{/groupedEach}}
|
{{/groupedEach}}
|
||||||
</ul>
|
</table>
|
||||||
|
|
||||||
{{#if showAllLinksControls}}
|
{{#if showAllLinksControls}}
|
||||||
<div class='link-summary'>
|
<div class='link-summary'>
|
||||||
|
|
|
@ -342,10 +342,6 @@ a.star {
|
||||||
&:hover {border: 1px solid $primary !important;}
|
&:hover {border: 1px solid $primary !important;}
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-links li {
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
color: $primary;
|
color: $primary;
|
||||||
|
@ -428,16 +424,13 @@ a.star {
|
||||||
border-top: 2px solid scale-color-diff();
|
border-top: 2px solid scale-color-diff();
|
||||||
}
|
}
|
||||||
|
|
||||||
.participants { // PMs //
|
.participants { // PMs //
|
||||||
.user {float: left; margin: 7px 20px 7px 0;}
|
.user {float: left; margin: 7px 20px 7px 0;}
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-links {
|
.topic-links {
|
||||||
li > a {
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
.badge-notification {
|
.badge-notification {
|
||||||
margin: 0 0 4px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.buttons {
|
.buttons {
|
||||||
|
|
|
@ -165,10 +165,6 @@ a.star {
|
||||||
border-radius: 0 4px 0 4px;
|
border-radius: 0 4px 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-links li {
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
margin: 30px 10px 10px 10px;
|
margin: 30px 10px 10px 10px;
|
||||||
background: scale-color(scale-color-diff(), $lightness: 40%);
|
background: scale-color(scale-color-diff(), $lightness: 40%);
|
||||||
|
|
||||||
|
@ -259,7 +255,7 @@ a.star {
|
||||||
|
|
||||||
.topic-links {
|
.topic-links {
|
||||||
.badge-notification {
|
.badge-notification {
|
||||||
margin: 0 0 4px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.buttons {
|
.buttons {
|
||||||
|
|
Loading…
Reference in New Issue