[60ada4]: / Allura / allura / templates / widgets / neighborhood_overview_form.html  Maximize  Restore  History

Download this file

75 lines (69 with data), 3.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{#-
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-#}
{% import 'allura:templates/jinja_master/lib.html' as lib with context %}
<form method="POST" action="update" enctype="multipart/form-data">
<label class="grid-4">Name</label>
<div class="grid-14">{{widget.display_field(widget.fields.name)}}</div>
<label class="grid-4">Redirect</label>
<div class="grid-14">{{widget.display_field(widget.fields.redirect)}}</div>
{% if neighborhood.has_home_tool %}
<label class="grid-4">Home Content (HTML)</label>
<div class="grid-14">{{widget.display_field(widget.fields.homepage)}}</div>
<label class="grid-4">Allow Browsing</label>
<div class="grid-14">{{widget.display_field(widget.fields.allow_browse)}}</div>
{% endif %}
<label class="grid-4">Show Title</label>
<div class="grid-14">{{widget.display_field(widget.fields.show_title)}}</div>
<label class="grid-4">"Home" Wiki as Root</label>
<div class="grid-14">
{%if not allow_wiki_as_root %}
This feature is disabled because there is no "Home" page in the default Wiki.
{% else %}
{{widget.display_field(widget.fields.use_wiki_page_as_root)}}
{% endif %}
</div>
{% if neighborhood.allow_custom_css %}
<label class="grid-4">Custom CSS</label>
<div class="grid-14">{{widget.display_field(widget.fields.css)}}</div>
{% endif %}
<label class="grid-4">Project Template</label>
<div class="grid-14">{{widget.display_field(widget.fields.project_template)}}</div>
<label class="grid-4">Icon</label>
<div class="grid-14">
{% if neighborhood.icon %}
<img {{ lib.project_icon_srcs(neighborhood.neighborhood_project) }} style="vertical-align: middle" alt=""/>
{% endif %}
{{widget.display_field(widget.fields.icon)}}
</div>
{% if neighborhood.features and neighborhood.features['google_analytics'] %}
<label class="grid-4">Google Analytics ID</label>
<div class="grid-14">{{widget.display_field(widget.fields.tracking_id)}}</div>
{% endif %}
<label class="grid-4">Project List URL</label>
<div class="grid-14">{{widget.display_field(widget.fields.project_list_url)}}</div>
<label class="grid-4">Anchored tools</label>
<div class="grid-14">{{widget.display_field(widget.fields.anchored_tools)}}
<br/>
Anchored tools will be inserted at the beginning of all projects, and cannot be removed by a project.
If you change the anchored tools, already-inserted tools will stay on all those projects. Example: "wiki:Wiki, sometool:The Label"
</div>
<label class="grid-4">Prohibited tools</label>
<div class="grid-14">{{widget.display_field(widget.fields.prohibited_tools)}}</div>
<label class="grid-4">&nbsp;</label>
<div class="grid-14"><input type="submit" value="Save"/></div>
{{lib.csrf_token()}}
</form>