PageRenderTime 39ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/template/en/default/hook/global/user-error-errors.html.tmpl

https://github.com/bayoteers/AgileTools
Go Template | 73 lines | 59 code | 14 blank | 0 comment | 0 complexity | 362e845a7268422238a21b2529638df9 MD5 | raw file
  1. [%# This Source Code Form is subject to the terms of the Mozilla Public
  2. # License, v. 2.0. If a copy of the MPL was not distributed with this
  3. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4. #
  5. # Copyright (C) 2012 Jolla Ltd.
  6. # Contact: Pami Ketolainen <pami.ketolainen@jollamobile.com>
  7. #%]
  8. [%# Note that error messages should generally be indented four spaces, like
  9. # below, because when Bugzilla translates an error message into plain
  10. # text, it takes four spaces off the beginning of the lines.
  11. #%]
  12. [% IF error == "agile_team_exists" %]
  13. [% title = "The team already exists" %]
  14. The team [% name FILTER html %] already exists.
  15. [% ELSIF error == "agile_missing_field" %]
  16. [% title = "Field required" %]
  17. Field [% field FILTER html %] is required and you did not provide any.
  18. [% ELSIF error == "agile_invalid_field" %]
  19. [% title = "Invalid field" %]
  20. Field [% field FILTER html %] has invalid value [% value FILTER html %].
  21. [% ELSIF error == "agile_team_edit_not_allowed" %]
  22. [% title = "Team editing denied" %]
  23. You are not allowed to edit team [% name FILTER html %]
  24. [% ELSIF error == "agile_bad_responsibility_type" %]
  25. [% title = "Unknown responsibility type" %]
  26. Responsibility type of [% type FILTER html %] is not supported
  27. [% ELSIF error == "agile_access_denied" %]
  28. [% title = "Access denied" %]
  29. You are not allowed to access AgileTools on this [% terms.Bugzilla %].
  30. Contact admins for adding you to AgileTools user group.
  31. [% ELSIF error == "agile_permission_denied" %]
  32. [% title = "Permission denied" %]
  33. You are not allowed to '[% permission OR 'do that' FILTER html %]'.
  34. [% ELSIF error == "agile_team_manage_denied" %]
  35. [% title = "Access denied" %]
  36. You are not allowed to manage teams in AgileTools
  37. [% ELSIF error == "agile_actual_time_required" %]
  38. [% title = "Actual time required" %]
  39. [% terms.Bugs %] with severity [% Param('agile_check_time_severity').join(', ') %]
  40. and resolution [% Param('agile_check_time_resolution').join(', ') %] require
  41. that the actual working time is set when closing them.
  42. [% ELSIF error == "agile_sprint_overlap" %]
  43. [% title = "Overlapping sprint" %]
  44. The selected start dates overlap with [% sprint.name FILTER html %]
  45. starting [% sprint.start_date FILTER html %] and
  46. ending [% sprint.end_date FILTER html %]
  47. [% ELSIF error == "agile_sprint_end_before_start" %]
  48. [% title = "Bad end date" %]
  49. The selected end date is before start date.
  50. [% ELSIF error == "agile_sprint_close_not_current" %]
  51. [% title = "Cant close sprint" %]
  52. The sprint you are trying to close is not current.
  53. [% ELSIF error == "agile_sprint_close_uncommitted" %]
  54. [% title = "Can't close uncommited sprint" %]
  55. The sprint you are trying to close has not been committed.
  56. [% ELSIF error == "agile_sprint_commit_empty" %]
  57. [% title = "Can't commit to empty sprint" %]
  58. You can not commit to sprint without any items in it.
  59. [% END %]