Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
8f77358e
Commit
8f77358e
authored
Dec 14, 2012
by
Sunil Joshi
Committed by
Frédéric Buclin
Dec 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 780675: Display "The changes to your votes have been saved" in green instead of red
r/a=LpSolit
parent
b80c2dd4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
11 deletions
+17
-11
Extension.pm
extensions/Voting/Extension.pm
+1
-1
messages-messages.html.tmpl
...mplate/en/default/hook/global/messages-messages.html.tmpl
+16
-0
user.html.tmpl
...ns/Voting/template/en/default/pages/voting/user.html.tmpl
+0
-10
No files found.
extensions/Voting/Extension.pm
View file @
8f77358e
...
...
@@ -628,7 +628,7 @@ sub _update_votes {
# Set header_done to 1 only after the first bug.
$vars
->
{
'header_done'
}
=
1
;
}
$vars
->
{
'
votes_recorded'
}
=
1
;
$vars
->
{
'
message'
}
=
'votes_recorded'
;
}
######################
...
...
extensions/Voting/template/en/default/hook/global/messages-messages.html.tmpl
0 → 100644
View file @
8f77358e
[%# This Source Code Form is subject to th e terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[%# This is a list of all the possible messages. Please keep them in
# alphabetical order by message tag, and leave a blank line between messages.
#%]
[% IF message_tag == "votes_recorded" %]
The changes to your votes have been saved.
[% END %]
extensions/Voting/template/en/default/pages/voting/user.html.tmpl
View file @
8f77358e
...
...
@@ -47,16 +47,6 @@
<hr>
[% END %]
[% IF votes_recorded %]
<p>
<font color="red">
The changes to your votes have been saved.
</font>
</p>
[% ELSE %]
<br>
[% END %]
[% IF products.size %]
<form name="voting_form" method="post" action="page.cgi?id=voting/user.html">
<input type="hidden" name="action" value="vote">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment