summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-14 09:55:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-14 09:55:49 +0000
commit18ea8357390018ecdcf222789bd5d91e736daa5b (patch)
treed04b9191bd6d74d57aa4dda4fb15f9f72f5b596c /app/helpers
parenta6a627f4455bdd2a39c4c36d8b1b85ccda6f03ad (diff)
downloadredmine-18ea8357390018ecdcf222789bd5d91e736daa5b.tar.gz
redmine-18ea8357390018ecdcf222789bd5d91e736daa5b.zip
Display "none" inside square brackets.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8644 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/timelog_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb
index ddcfd1d12..e3c7615b2 100644
--- a/app/helpers/timelog_helper.rb
+++ b/app/helpers/timelog_helper.rb
@@ -130,7 +130,7 @@ module TimelogHelper
def format_criteria_value(criteria_options, value)
if value.blank?
- l(:label_none)
+ "[#{l(:label_none)}]"
elsif k = criteria_options[:klass]
obj = k.find_by_id(value.to_i)
if obj.is_a?(Issue)