incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rjol...@apache.org
Subject svn commit: r1429353 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py
Date Sat, 05 Jan 2013 18:34:55 GMT
Author: rjollos
Date: Sat Jan  5 18:34:55 2013
New Revision: 1429353

URL: http://svn.apache.org/viewvc?rev=1429353&view=rev
Log:
Refs #305: Minor rewording of message indicating that no values are defined for a ticket field.

Modified:
    incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py

Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py?rev=1429353&r1=1429352&r2=1429353&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py (original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py Sat Jan
 5 18:34:55 2013
@@ -143,7 +143,7 @@ class TicketFieldValuesWidget(WidgetBase
                     admin_suffix = field_maps.get(fieldnm)['admin_url']
                     if 'TICKET_ADMIN' in req.perm and admin_suffix is not None:
                         hint = _('You can add one or more '
-                                 '<a href="%(url)s">here</a>',
+                                 '<a href="%(url)s">here</a>.',
                                 url=req.href.admin('ticket', admin_suffix))
                     else:
                         hint = _('Contact your administrator for further details')
@@ -153,9 +153,10 @@ class TicketFieldValuesWidget(WidgetBase
                                             field=field_maps[fieldnm]['title'])),
                                 'data' : dict(msgtype='info',
                                     msglabel="Note",
-                                    msgbody=Markup(_('''There is no value defined
-                                        for ticket field <em>%(field)s</em>.

-                                        %(hint)s''', field=fieldnm, hint=hint) )
+                                    msgbody=Markup(_('''No values are
+                                        defined for ticket field
+                                        <em>%(field)s</em>. %(hint)s''',
+                                        field=fieldnm, hint=hint))
                                     )
                             }, context
                 else:



Mime
View raw message