Revision 33e8f0b8 templates/apply.html

b/templates/apply.html
3 3

  
4 4
{% block title %}
5 5
	{% if edit %}
6
		{% trans "Edit Route" %} {{form.data.name}}
6
		{% trans "Edit Rule" %} {{form.data.name}}
7 7
	{% else %}
8
		{% trans "Create new Route" %}
8
		{% trans "Create new Rule" %}
9 9
	{% endif %}
10 10
{% endblock %}
11 11

  
12 12
{% block breadcrumbs %}:: 
13 13
	{% if edit %}
14
		{% trans "Edit route" %} {{form.data.name}}
14
		{% trans "Edit rule" %} {{form.data.name}}
15 15
	{% else %}
16
	{% trans "Create route" %}
16
	{% trans "Create rule" %}
17 17
	{% endif %}
18 18
		{% endblock %}
19 19
{% block extrahead %}
......
144 144
</style>
145 145
<div align="center">
146 146
	{% if edit %}
147
	<h3>{% trans "Edit route" %}: {{form.data.name}}</h3>
147
	<h3>{% trans "Edit rule" %}: {{form.data.name}}</h3>
148 148
	{% else %}
149
<h3>{% trans "Apply for a new route" %}</h3>
149
<h3>{% trans "Apply for a new rule" %}</h3>
150 150
{% endif %}
151 151
<form method="POST">
152 152
{% csrf_token %}
......
155 155
{% endif %}
156 156

  
157 157
<fieldset {% if edit %} style="display:none;" {% endif %}>
158
	<legend>{% trans "Route Basic Info" %}</legend>
158
	<legend>{% trans "Rule Basic Info" %}</legend>
159 159
<table>
160 160
<tr><th>{{ form.name.label_tag }}</th><td>{{ form.name }}<span class="error">{{ form.name.errors|join:", " }}</span></td></tr>
161 161
<tr class="help"><td></td><td>A unique identifier will be added as a name_suffix</td></tr>
......
163 163
</fieldset>
164 164

  
165 165
<fieldset>
166
<legend>{% trans "Route Match Conditions" %}</legend>
166
<legend>{% trans "Rule Match Conditions" %}</legend>
167 167
<table>
168 168
<input type="hidden" id="id_applier" name="applier" value="{{applier}}"/>
169 169
<tr><th>{{ form.source.label_tag }}</th><td>{{ form.source }}<span class="error">{{ form.source.errors|join:", " }}</span></td></tr>
......
179 179
</table>
180 180
</fieldset>
181 181
<fieldset>
182
<legend>{% trans "Route Actions" %}</legend>
182
<legend>{% trans "Rule Actions" %}</legend>
183 183
<table>
184 184
<tr><th>{{ form.then.label_tag }}</th><td>{{ form.then }}&nbsp;&nbsp;<button id="new_then_actions">Rate-limit</button><span class="error">{{ form.then.errors|join:", " }}</span></td></tr>
185 185
</table>
......
187 187
<fieldset>
188 188
<legend>{% trans "Use/Comments" %}</legend>
189 189
{% blocktrans %}
190
<p>Give a short description of the intended use of this route, that justifies the parameter selection above. Feel free to include any additional comments.</p>
190
<p>Give a short description of the intended use of this rule, that justifies the parameter selection above. Feel free to include any additional comments.</p>
191 191
{% endblocktrans %}
192 192
<p>{{ form.comments }}
193 193
{% if form.errors %}<br /><span class="error">{{ form.comments.errors|join:", " }}</span>{% endif %}

Also available in: Unified diff