diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2013-01-22 17:09:45 +0100 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2013-01-22 17:09:45 +0100 |
commit | 54e4b9fd39f88f9402f1ab7cc9667e4f41780a3b (patch) | |
tree | 10c9f5e1e2c9add32dd3af8eb3d6eb542e25229f /plugins | |
parent | 2ee97ff8e066220a80173f1491ba94a239abada9 (diff) | |
download | sonarqube-54e4b9fd39f88f9402f1ab7cc9667e4f41780a3b.tar.gz sonarqube-54e4b9fd39f88f9402f1ab7cc9667e4f41780a3b.zip |
SONAR-4003 Improve rendering
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties | 1 | ||||
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/action_plans.html.erb | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index 84426ba52aa..1877497712a 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -929,6 +929,7 @@ widget.reviews_per_developer.not_assigned=Not assigned widget.action_plans.name=Action plans widget.action_plans.description=Shows all the open action plans of the project +widget.action_plans.prop.showClosedReviews.name=Show Closed Reviews widget.action_plans.title=Open action plans widget.action_plans.no_action_plan=No action plan widget.action_plans.x_open_reviews={0} open reviews diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/action_plans.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/action_plans.html.erb index e6de5f33999..bbd2b41f3c4 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/action_plans.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/action_plans.html.erb @@ -36,7 +36,7 @@ end %> - <table class="width100 actionPlans"> + <table class="width100 <%= show_closed_reviews ? 'actionPlans' : 'data' -%>"> <thead> <tr> <th colspan="<%= show_closed_reviews ? '3' : '4' %>"></th> @@ -46,7 +46,7 @@ <% open_action_plans.each do |plan| %> - <tr> + <tr class="<%= show_closed_reviews ? '' : cycle("even", "odd", :name => "action_plan_" + widget.id.to_s) -%>"> <td class="nowrap <%= line_class -%>"><%= h(plan.name) -%></td> <td class="nowrap small <%= line_class -%> <%= 'over-due' if plan.over_due? -%>" style="text-align: right; padding-left:10px"><%= plan.deadline ? plan.deadline.strftime("%d %b %Y") : ' ' -%></td> @@ -62,7 +62,7 @@ else open_reviews_size = plan.open_reviews.size %> - <td class="right note <%= line_class -%>" style="padding-left:20px"> + <td class="right <%= line_class -%>" style="padding-left:20px"> <% if open_reviews_size == 0 %> <%= open_reviews_size -%> <% else %> |