Changes for page Tags

Last modified by Thomas Mortagne on 2020/01/28 17:18

From version < 10.1 >
edited by Vincent Massol
on 2013/10/15 14:51
To version < 12.1 >
edited by Vincent Massol
on 2014/10/21 14:37
< >
Change comment: Install extension [org.xwiki.platform:xwiki-platform-tag-ui-6.2.2]

Summary

Details

Page properties
Content
... ... @@ -55,7 +55,7 @@
55 55   (% class="xapp" %)
56 56   === $services.localization.render('xe.tag.activity', ["//${tag}//"]) ===
57 57  
58 - {{activity tags="$tag" /}}
58 + {{activity tags="$tag" rss='true'/}}
59 59   )))
60 60   {{/container}}
61 61  #elseif ($do == 'prepareRename')
... ... @@ -69,7 +69,7 @@
69 69   <input type="hidden" name="form_token" value="$!{services.csrf.getToken()}" />
70 70   <input name="do" type="hidden" value="renameTag" />
71 71   <input name="tag" type="hidden" value="$htmlEscapedTag" />
72 - $services.localization.render('xe.tag.rename.renameto', [$htmlEscapedTag]) <input type="text" name="renameTo" /> <span class="buttonwrapper"><input type="submit" value="$services.localization.render('xe.tag.rename')" class="button"/></span><span class="buttonwrapper"><a href="$doc.getURL('view', "do=viewTag&tag=${urlEscapedTag}")" class="secondary button">Cancel</a></span>
72 + $services.localization.render('xe.tag.rename.renameto', [$htmlEscapedTag]) <input type="text" name="renameTo" /> <span class="buttonwrapper"><input type="submit" value="$services.localization.render('xe.tag.rename')" class="button"/></span><span class="buttonwrapper"><a href="$doc.getURL('view', "do=viewTag&tag=${urlEscapedTag}")" class="secondary button">$services.localization.render('cancel')</a></span>
73 73   </div>
74 74   </form>
75 75  {{/html}}
... ... @@ -99,7 +99,7 @@
99 99   <input type="hidden" name="form_token" value="$!{services.csrf.getToken()}" />
100 100   <input name="do" type="hidden" value="deleteTag" />
101 101   <input name="tag" type="hidden" value="$htmlEscapedTag" />
102 - <span class="buttonwrapper"><input type="submit" value="$services.localization.render('xe.tag.delete', [$htmlEscapedTag])" class="button"/></span><span class="buttonwrapper"><a href="$doc.getURL('view', "do=viewTag&tag=${urlEscapedTag}")" class="secondary button">Cancel</a></span>
102 + <span class="buttonwrapper"><input type="submit" value="$services.localization.render('xe.tag.delete', [$htmlEscapedTag])" class="button"/></span><span class="buttonwrapper"><a href="$doc.getURL('view', "do=viewTag&tag=${urlEscapedTag}")" class="secondary button">$services.localization.render('cancel')</a></span>
103 103   </div>
104 104   </form>
105 105  {{/html}}
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,5 +1,7 @@
1 +#template('colorThemeInit.vm')
2 +
1 1  h1.xapp {
2 - border-bottom: 0px none;
4 + border-bottom: 0 none;
3 3   margin: 0;
4 4  }
5 5  
... ... @@ -12,8 +12,8 @@
12 12  }
13 13  
14 14  h1.xapp .highlight {
15 - background: url("$xwiki.getSkinFile('icons/silk/tag_blue.png')") no-repeat 5px 50% #FFC;
16 - border: solid 1px #DDD;
17 + background: url("$xwiki.getSkinFile('icons/silk/tag_blue.png')") no-repeat 5px 50% $theme.backgroundSecondaryColor;
18 + border: solid 1px $theme.borderColor;
17 17   border-radius: 10px;
18 18   display: inline-block;
19 19   font-weight: bold;
... ... @@ -22,9 +22,10 @@
22 22  }
23 23  
24 24  h1.xapp .button {
25 - background: no-repeat 3px 50% #FFD;
26 - border: solid 1px #DDD;
27 + background: no-repeat 3px 50% $theme.pageContentBackgroundColor;
28 + border: solid 1px $theme.borderColor;
27 27   border-radius: 7px;
30 + color: $theme.linkColor;
28 28   display : inline-block;
29 29   font-size: 50%;
30 30   font-weight: normal;
... ... @@ -41,6 +41,6 @@
41 41  }
42 42  
43 43  h1.xapp .button:hover {
44 - background-color: #EEF;
47 + background-color: $theme.highlightColor;
45 45   text-decoration: none;
46 46  }

Get Connected