Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Commit 59790db

Browse files
author
Jens Krumsieck
committed
202
1 parent eae9119 commit 59790db

File tree

4 files changed

+36
-32
lines changed

4 files changed

+36
-32
lines changed

files/style/linklist.less

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
1-
/* ### board list ### */
21
.linklistCategoryList {
3-
.categoryDepth2 {
2+
3+
4+
.linklistCategoryContainer {
5+
position: relative;
6+
}
7+
8+
.categoryDepth1 {
9+
margin-top: @wcfGapMedium;
10+
}
11+
12+
.linklistCategory {
13+
.categoryDepth2{
14+
&.linklistCategoryContainer > .linklistCategory {
15+
padding-left: 7px;
16+
}
17+
}
18+
19+
.categoryDepth3 {
20+
&.linklistCategoryContainer > .linklistCategory {
21+
padding-left: 43px;
22+
}
23+
}
24+
}
25+
26+
.categoryDepth2 {
427
&.linklistCategoryContainer > .linklistCategory {
528
padding-left: 43px;
629
}
@@ -20,26 +43,13 @@
2043
}
2144
}
2245

23-
.linklistCategory {
24-
.categoryDepth2{
25-
&.linklistCategoryContainer > .linklistCategory {
26-
padding-left: 7px;
27-
}
28-
}
29-
30-
.categoryDepth3 {
31-
&.linklistCategoryContainer > .linklistCategory {
32-
padding-left: 43px;
33-
}
34-
}
35-
}
36-
3746
.tabularBox:not(.categoryDepth1) {
3847
border-width: 1px 0 0;
3948
}
4049

50+
4151
.linkStats {
42-
left: 49%;
52+
left: 60%;
4353
margin-top: 0;
4454
position: absolute;
4555
top: @wcfGapMedium;
@@ -58,15 +68,7 @@
5868
}
5969
}
6070
}
61-
6271

63-
.linklistCategoryContainer {
64-
position: relative;
65-
}
66-
67-
.categoryDepth1 {
68-
margin-top: @wcfGapMedium;
69-
}
7072

7173
.linklistCategory {
7274
min-height: 44px;
@@ -95,13 +97,6 @@
9597
}
9698

9799

98-
.linklistCategoryList .linkStats {
99-
left: 45%;
100-
margin-top: 0px;
101-
position: absolute;
102-
top: 9px;
103-
width: 50%;
104-
}
105100

106101
.linkDisabled {
107102
background-color: @wcfDisabledBackgroundColor !important;

language/de.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ Unser neuestes Mitglied heißt: <a href="{link controller='User' object=$stats[n
118118
<item name="linklist.link.menu.show"><![CDATA[Link]]></item>
119119
<item name="linklist.link.menu.comment"><![CDATA[Kommentare]]></item>
120120
</category>
121+
<category name="wcf.like">
122+
<item name="wcf.like.objectType.de.codequake.linklist.likeableLink"><![CDATA[Link]]></item>
123+
</category>
121124
<category name="wcf.acp.option">
122125
<item name="wcf.acp.option.category.linklist.general"><![CDATA[Allgemein]]></item>
123126
<item name="wcf.acp.option.category.linklist.general.settings"><![CDATA[Einstellungen]]></item>

language/en.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ The newest Member is: <a href="{link controller='User' object=$stats[newestMembe
118118
<item name="linklist.link.menu.show"><![CDATA[Link]]></item>
119119
<item name="linklist.link.menu.comment"><![CDATA[Comments]]></item>
120120
</category>
121+
<category name="wcf.like">
122+
<item name="wcf.like.objectType.de.codequake.linklist.likeableLink"><![CDATA[Link]]></item>
123+
</category>
121124
<category name="wcf.acp.option">
122125
<item name="wcf.acp.option.category.linklist.general"><![CDATA[General]]></item>
123126
<item name="wcf.acp.option.category.linklist.general.settings"><![CDATA[Settings]]></item>

templates/linkAdd.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<script data-relocate="true">
66
//<![CDATA[
77
$(function() {
8+
WCF.Language.addObject({
9+
'wcf.label.none': '{lang} wcf.label.none{/lang}'
10+
});
811
new WCF.Label.Chooser({ {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '#messageContainer');
912
WCF.Message.Submit.registerButton('text', $('#messageContainer > .formSubmit > input[type=submit]'));
1013
new WCF.Message.FormGuard();

0 commit comments

Comments
 (0)