summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-07-31 19:06:08 +0200
committerDylan William Hardison <dylan@hardison.net>2018-07-31 19:06:08 +0200
commiteec09d8bec17b7f11a5d204562c4646959696d97 (patch)
treeb82fd1dd634014e29ae72e90682bf63e26cd90c1 /template
parenta108778bc2784cdadfc6b2df4ec989b46dc162ca (diff)
downloadbugzilla-eec09d8bec17b7f11a5d204562c4646959696d97.tar.gz
bugzilla-eec09d8bec17b7f11a5d204562c4646959696d97.tar.xz
review nits
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/params/editparams.html.tmpl1
-rw-r--r--template/en/default/admin/params/general.html.tmpl5
-rw-r--r--template/en/default/global/field-descs.none.tmpl10
-rw-r--r--template/en/default/global/messages.html.tmpl62
4 files changed, 28 insertions, 50 deletions
diff --git a/template/en/default/admin/params/editparams.html.tmpl b/template/en/default/admin/params/editparams.html.tmpl
index 838bff7ef..6e8bc2257 100644
--- a/template/en/default/admin/params/editparams.html.tmpl
+++ b/template/en/default/admin/params/editparams.html.tmpl
@@ -21,7 +21,6 @@
[%# INTERFACE:
# panels: array of hashes representing the panels available.
# param_changed: array of parameters which have been changed.
- # shutdown_is_active: boolean; is true when 'shutdownhtml' has been turned on.
#%]
[% PROCESS global/variables.none.tmpl %]
diff --git a/template/en/default/admin/params/general.html.tmpl b/template/en/default/admin/params/general.html.tmpl
index f1b86e19f..05e8f09a2 100644
--- a/template/en/default/admin/params/general.html.tmpl
+++ b/template/en/default/admin/params/general.html.tmpl
@@ -48,11 +48,6 @@
_ " &quot;on&quot;, you must re-run <kbd>checksetup.pl</kbd> immediately"
_ " afterward.</p>",
- shutdownhtml =>
- "If this field is non-empty, then $terms.Bugzilla will be completely"
- _ " disabled and this text will be displayed instead of all the"
- _ " $terms.Bugzilla pages.",
-
announcehtml =>
"If this field is non-empty, then $terms.Bugzilla will"
_ " display whatever is in this field at the top of every"
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl
index 3e0a528dc..cb6240c29 100644
--- a/template/en/default/global/field-descs.none.tmpl
+++ b/template/en/default/global/field-descs.none.tmpl
@@ -162,13 +162,11 @@ if ( $stash->get("in_template_var") ) {
# database. If you want to override this for your language
# or your installation, just use a hook. %]
my $bug_fields = $stash->get("bug_fields");
- unless ( Bugzilla->params->{shutdownhtml} ) {
- foreach my $bz_field ( values %$bug_fields ) {
- $vars->{field_descs}{$bz_field->name} //= $bz_field->description;
- }
-
- $context->process("bug/field-help.none.tmpl");
+ foreach my $bz_field ( values %$bug_fields ) {
+ $vars->{field_descs}{$bz_field->name} //= $bz_field->description;
}
+
+ $context->process("bug/field-help.none.tmpl");
}
[% END %]
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index 591617f3e..278b0f161 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -140,7 +140,7 @@
[% ELSIF message_tag == "buglist_updated_named_query" %]
[% title = "Search updated" %]
- Your search named <code><a
+ Your search named <code><a
href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% queryname FILTER uri %]"
>[% queryname FILTER html %]</a></code> has been updated.
@@ -298,22 +298,22 @@
[% ELSIF message_tag == "email_change_canceled_reinstated" %]
[% title = "Cancel Request to Change Email Address" %]
The request to change the email address for the
- account [%+ old_email FILTER html %] to
+ account [%+ old_email FILTER html %] to
[%+ new_email FILTER html %] has been canceled.
Your old account settings have been reinstated.
[% ELSIF message_tag == "extension_created" %]
An extension named [% name FILTER html %] has been created
- in [% path FILTER html %]. Make sure you change "YOUR NAME" and
+ in [% path FILTER html %]. Make sure you change "YOUR NAME" and
"YOUR EMAIL ADDRESS" in the code to your name and your email address.
[% ELSIF message_tag == "field_value_created" %]
[% title = "New Field Value Created" %]
- The value <em>[% value.name FILTER html %]</em> has been added as a
+ The value <em>[% value.name FILTER html %]</em> has been added as a
valid choice for the <em>[% field.description FILTER html %]</em>
(<em>[% field.name FILTER html %]</em>) field.
[% IF field.name == "bug_status" %]
- You should now visit the <a href="editworkflow.cgi">status workflow
+ You should now visit the <a href="editworkflow.cgi">status workflow
page</a> to include your new [% terms.bug %] status.
[% END %]
@@ -331,7 +331,7 @@
(<em>[% field.name FILTER html %]</em>) field has been changed:
<ul>
[% IF changes.value %]
- <li>Field value updated to
+ <li>Field value updated to
<em>[% changes.value.1 FILTER html %]</em>.
[% IF value.is_default %]
(Note that this value is the default for this field. All
@@ -340,16 +340,16 @@
</li>
[% END %]
[% IF changes.sortkey %]
- <li>Sortkey updated to
+ <li>Sortkey updated to
<em>[% changes.sortkey.1 FILTER html %]</em>.</li>
[% END %]
[% IF changes.visibility_value_id %]
[% IF value.visibility_value.defined %]
- <li>It only appears when
+ <li>It only appears when
[%+ value.field.value_field.description FILTER html %] is set to
'[%+ value.visibility_value.name FILTER html %]'.</li>
[% ELSE %]
- <li>It now always appears, no matter what
+ <li>It now always appears, no matter what
[%+ value.field.value_field.description FILTER html %] is set to.
</li>
[% END %]
@@ -535,7 +535,7 @@
Reading users...
[% ELSIF message_tag == "migrate_translating_bugs" %]
- Converting [% terms.bug %] values to be appropriate for
+ Converting [% terms.bug %] values to be appropriate for
[%+ terms.Bugzilla %]...
[% ELSIF message_tag == "migrate_user_created" %]
@@ -594,12 +594,6 @@
No changes made.
[% END %]
- [% IF shutdown_is_active == 1 %]
- <hr>
- [% terms.Bugzilla %] has now been shut down. To re-enable the system,
- clear the <em>shutdownhtml</em> field.
- [% END%]
-
[% ELSIF message_tag == "password_change_canceled" %]
[% title = "Cancel Request to Change Password" %]
Your request has been canceled.
@@ -731,7 +725,7 @@
[% ELSIF message_tag == "install_fk_invalid" %]
ERROR: There are invalid values for the [% column FILTER html %] column in the [% table FILTER html %]
- table. (These values do not exist in the [% foreign_table FILTER html %] table, in the
+ table. (These values do not exist in the [% foreign_table FILTER html %] table, in the
[%+ foreign_column FILTER html %] column.)
Before continuing with checksetup, you will need to fix these values,
@@ -789,8 +783,8 @@
to be editable by both you and the web server must be world writable, and
other files (including the localconfig file which stores your database
password) must be world readable. This means that _anyone_ who can obtain
- local access to this machine can do whatever they want to your
- [%+ terms.Bugzilla %] installation, and is probably also able to run
+ local access to this machine can do whatever they want to your
+ [%+ terms.Bugzilla %] installation, and is probably also able to run
arbitrary Perl code as the user that the web server runs as.
You really, really, really need to change this setting.
@@ -798,10 +792,10 @@
[% ELSIF message_tag == "install_webservergroup_not_in" %]
Warning: you have entered a value for the "webservergroup" parameter in
- localconfig, but you are not either a) running this script as [% constants.ROOT_USER FILTER html %];
- or b) a member of this group. This can cause permissions problems and
+ localconfig, but you are not either a) running this script as [% constants.ROOT_USER FILTER html %];
+ or b) a member of this group. This can cause permissions problems and
decreased security. If you experience problems running [% terms.Bugzilla %]
- scripts, log in as [% constants.ROOT_USER FILTER html %] and re-run this script, become a
+ scripts, log in as [% constants.ROOT_USER FILTER html %] and re-run this script, become a
member of the group, or remove the value of the "webservergroup" parameter.
[% ELSIF message_tag == "install_webservergroup_windows" %]
@@ -836,7 +830,7 @@
products you can choose from.
[% ELSIF message_tag == "remaining_time_zeroed" %]
- The [% field_descs.remaining_time FILTER html %] field has been
+ The [% field_descs.remaining_time FILTER html %] field has been
set to zero automatically as part of closing this [% terms.bug %]
or moving it from one closed state to another.
@@ -856,21 +850,21 @@
[% ELSIF message_tag == "sudo_started" %]
[% title = "Sudo session started" %]
- The sudo session has been started. For the next 6 hours, or until you
- end the session, everything you do you do as the user you are
+ The sudo session has been started. For the next 6 hours, or until you
+ end the session, everything you do you do as the user you are
impersonating ([% target FILTER html %]).
-
+
[% ELSIF message_tag == "sudo_ended" %]
[% title = "Sudo session complete" %]
- The sudo session has been ended. From this point forward, everything you
+ The sudo session has been ended. From this point forward, everything you
do you do as yourself.
[% ELSIF message_tag == "series_created" %]
[% title = "Series Created" %]
The series <em>[% series.category FILTER html %] /
- [%+ series.subcategory FILTER html %] /
+ [%+ series.subcategory FILTER html %] /
[%+ series.name FILTER html %]</em>
- has been created. Note that you may need to wait up to
+ has been created. Note that you may need to wait up to
[%+ series.frequency * 2 %] days before there will be enough data for a
chart of this series to be produced.
@@ -881,14 +875,6 @@
[%+ series.name FILTER html %]</em>
has been deleted.
- [% ELSIF message_tag == "shutdown" %]
- [% title = "$terms.Bugzilla is Down" %]
- [% Param("shutdownhtml") %]
- [% IF userid %]
- <p>For security reasons, you have been logged out automatically.
- The cookie that was remembering your login is now gone.
- [% END %]
-
[% ELSIF message_tag == "tag_updated" %]
[% title = "Tag Updated" %]
The '<a href="buglist.cgi?tag=[% tag FILTER uri %]">[% tag FILTER html %]</a>'
@@ -908,7 +894,7 @@
Some flags could not be set. Please check your changes.
[% ELSIF message_tag == "user_match_failed" %]
- You entered a username that did not match any known
+ You entered a username that did not match any known
[% terms.Bugzilla %] users, so we have instead left
the [% match_field FILTER html %] field blank.