Зміни в документі Filter streams

Остання зміна 2022/08/30 01:35 автором Павло Заїченко

Від версії 2.1
редаговано Павло Заїченко
дата 2022/08/30 01:35
Змінити коментар: Install extension [org.xwiki.platform:xwiki-platform-filter-ui/14.7]
До версії 1.1
редаговано Павло Заїченко
дата 2021/10/18 11:42
Змінити коментар: Install extension [org.xwiki.platform:xwiki-platform-filter-ui/13.6]

Підсумок

Подробиці

Властивості сторінки
Вміст
... ... @@ -1,3 +1,5 @@
1 +{{warning}}Filter module is still young and experimental and while exporting should be safe enough, importing can be more risky for the current instance.{{/warning}}
2 +
1 1  {{include reference="FilterStreamDescriptorForm"/}}
2 2  
3 3  {{velocity output="true"}}
... ... @@ -37,7 +37,6 @@
37 37  
38 38  {{velocity}}
39 39  #if ($request.convert)
40 - #if ($services.security.authorization.hasAccess('programming', $xcontext.userReference, $doc.documentReference))
41 41   #if ($targetStandardOutput)
42 42   $response.setContentType('application/octet-stream')
43 43   $response.setHeader('Content-Disposition', 'attachment; filename=target');
... ... @@ -68,9 +68,6 @@
68 68   #end
69 69   #end
70 70   #end
71 - #else
72 - {{error}}You are not allowed to start a conversion.{{/error}}
73 - #end
74 74  #end
75 75  {{/velocity}}
76 76  
... ... @@ -131,11 +131,7 @@
131 131   </fieldset>
132 132  
133 133   <p>
134 - #if ($services.security.authorization.hasAccess('programming', $xcontext.userReference, $doc.documentReference))
135 - <input class="button" type="submit" name="convert" value="Convert"/>
136 - #else
137 - <input class="button" type="submit" name="convert" value="Convert" disabled title="You are not allowed to start a conversion."/>
138 - #end
132 + <input class="button" type="submit" name="convert" value="Convert"/>
139 139   </p>
140 140  </div>
141 141  </form>