Changes for page Macros

Last modified by Jip-jan Alunkel on April 15, 18:09

From version 2.249
edited by Jip-jan Alunkel
on July 17, 17:39
Change comment: Update document after refactoring.
To version 2.250
edited by Jip-jan Alunkel
on July 17, 17:42
Change comment: Update document after refactoring.

Summary

Details

Page properties
Content
... ... @@ -253,25 +253,25 @@
253 253   </div>
254 254  #end
255 255  #macro(createExpandStart $opener $value)
256 - <div id="${opener.id}_section_#if($value)${value}#else${opener.value}#end" class="togglee">
256 + <div id="${opener.id}_section_#if($value)${value}#else${opener.value}#end" class="togglee">
257 257  #end
258 258  #macro(createExpandEnd)
259 - </div>
259 + </div>
260 260  #end
261 261  #macro(createSubmit $O_submit)
262 - <div class="clearfix">
263 - <p class="alert alert-warning alert-button-float-right">
264 - <span class="alert-button pull-right">
262 + <div class="clearfix">
263 + <p class="alert alert-warning alert-button-float-right">
264 + <span class="alert-button pull-right">
265 265  #if ($xcontext.user != 'XWiki.XWikiGuest')
266 - <input type="submit" class="btn btn-primary" id="${O_submit.id}" name="${O_submit.id}" value="${O_submit.button-text}" />
266 + <input type="submit" class="btn btn-primary" id="${O_submit.id}" name="${O_submit.id}" value="${O_submit.button-text}" />
267 267  #else
268 - <a data-toggle="modal" data-target="#displayLogin" href="#" class="btn btn-primary">$services.localization.render('login')</a>
268 + <a data-toggle="modal" data-target="#displayLogin" href="#" class="btn btn-primary">$services.localization.render('login')</a>
269 269  #end
270 - </span>
271 - <span class="alert-text">
272 - ${O_submit.help-block}
273 - </span>
274 - </p>
275 - </div>
270 + </span>
271 + <span class="alert-text">
272 + ${O_submit.help-block}
273 + </span>
274 + </p>
275 + </div>
276 276  #end
277 277  {{/velocity}}