Changes for page Collabs

Last modified by hbpadmin on 2022/03/23 19:34

From version 4.1
edited by hbpadmin
on 2021/05/11 18:10
Change comment: Install extension [eu.hbp.wiki:xwiki-awm-collabs/0.28.0]
To version 6.1
edited by hbpadmin
on 2022/03/22 18:10
Change comment: Install extension [eu.hbp.wiki:xwiki-awm-collabs/0.38.5]

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,5 @@
1 1  {{velocity output="false"}}
2 + #set($annotationsActivated=false)
2 2   #set($displayContentFooter=false)
3 3   #set($displayDocExtra=false)
4 4   #set($displayContentMenu=false)
... ... @@ -8,10 +8,13 @@
8 8   #set ($isAuthenticated = ($xcontext.user != 'XWiki.XWikiGuest'))
9 9   #set ($isCreationForm = $clbaction.equals('create'))
10 10  
11 - #macro(clbCreationForm)
12 + #macro(clbCreationForm) <div class="container">
12 12   <div class="row">
13 13   <div class="col-md-6">
14 - <h1>Collabs</h1>
15 + <h1>Create a Collab</h1>
16 + <p class="help-block">
17 + This page is used to create a new collab in the Collaboratory Wiki. Please plan your collab names in advance to avoid having many collabs with few pages and files. Thank you.
18 + </p>
15 15   </div>
16 16   <div class="col-md-6">
17 17   <a href="/bin/view/Collabs" class="btn btn-primary pull-right">Back to list</a>
... ... @@ -18,17 +18,19 @@
18 18   </div>
19 19   </div>
20 20   <div class="row">
21 - <clb-collab-create></clb-collab-create>
25 + <div id="root"></div>
22 22   </div>
27 + <link rel="stylesheet" type="text/css" href="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'style.css')" />
28 + <script type="module" src="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'collab-settings.js')"></script>
29 +</div>
23 23   #end
24 24  
25 - #macro(clbList $canCreate)
26 - <div class="container">
32 + #macro(clbList $canCreate) <div class="container">
27 27   <div class="row">
28 28   <div class="col-md-8">
29 29   <h1>Collab Search</h1>
30 30   <p class="help-block">
31 - Find available collabs searching for terms in title and/or description.<br />
37 + Find available collabs searching for words in title and description.<br />
32 32   You can refine the results using the filters.
33 33   </p>
34 34   </div>
... ... @@ -42,20 +42,17 @@
42 42   <div id="root"></div>
43 43   </div>
44 44  </div>
51 +<link rel="stylesheet" type="text/css" href="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'style.css')" />
52 +<script type="module" src="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'collab-search.js')"></script>
45 45   #end
46 46   {{/velocity}}
47 -
55 +
48 48   {{velocity}}
49 49   {{html clean="false"}}
50 50   #if($isCreationForm)
51 - <script type="module" src="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'collab.esm.js')"></script>
52 - <div class="container clb-content">
53 53   #clbCreationForm()
54 54   #else
55 - <link rel="stylesheet" type="text/css" href="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'collab-search.css')" />
56 - <script type="module" src="$services.webjars.url('eu.hbp.wiki:xwiki-webapp-collaboratory', 'collab-search.js')"></script>
57 - #clbList($isAuthenticated)
61 + #clbList($isAuthenticated)
58 58   #end
59 -
60 60   {{/html}}
61 61   {{/velocity}}