]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4716 Add label before updated info and technical debt in issue modal
authorJulien Lancelot <julien.lancelot@gmail.com>
Tue, 8 Oct 2013 15:45:48 +0000 (17:45 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Tue, 8 Oct 2013 15:45:48 +0000 (17:45 +0200)
plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb

index 17463004372b9cefa5035f1c4a465f6c184e45c9..074eb5cc246a2d6d3e80c466b241f1f7ffaabe97 100644 (file)
@@ -516,6 +516,7 @@ issue.status.CLOSED=Closed
 issue.resolution.FALSE-POSITIVE=False positive
 issue.resolution.FIXED=Fixed
 issue.resolution.REMOVED=Removed
+issue.updated=Updated:
 issue.planned_for_x=Planned for {0}
 issue.planned_for=Planned for
 issue.manual.missing_rule=Missing rule
@@ -527,6 +528,7 @@ issue.component_deleted=Removed
 issue.changelog.changed_to={0} changed to {1}
 issue.changelog.was=was {0}
 issue.changelog.removed={0} removed
+issue.technical_debt=Technical debt:
 issue.technical_debt.x_days={0} days
 issue.technical_debt.x_hours={0} hours
 issue.technical_debt.x_minutes={0} minutes
index 194b12e8af33349a4bea60f3f3b1d11661c9c8d5..bdb1ebacd9ffca35b46ea30c7494291cd29c4653 100644 (file)
@@ -21,7 +21,7 @@
     <% end %>
     <img src="<%= ApplicationController.root_context -%>/images/sep12.png"/>
     &nbsp;
-    <a href="#" onclick="return toggleIssueChangelog(this)" class="gray issue-changelog-link"
+    <%= message('issue.updated') -%>&nbsp;<a href="#" onclick="return toggleIssueChangelog(this)" class="gray issue-changelog-link"
        id="toggle-issue-changelog"><%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(issue.creationDate())) -%></a>
     &nbsp;
     <% if issue.reporter %>
@@ -33,7 +33,7 @@
     <% if issue.authorLogin %>
       <img src="<%= ApplicationController.root_context -%>/images/sep12.png"/>
       &nbsp;
-     <span><%= message('issue.authorLogin') -%> <%= issue.authorLogin -%></span>
+     <span><%= message('issue.authorLogin') -%>&nbsp;<%= issue.authorLogin -%></span>
       &nbsp;
     <% end %>
     <% if issue.technicalDebt %>
@@ -49,7 +49,7 @@
            # Do not display minutes if days is not null to not have too much information
            message += message('issue.technical_debt.x_minutes', :params => minutes) if minutes > 0 && days == 0
       %>
-        <a href="#" onclick="return toggleTechnicalDebt(this)" class="gray issue-technicaldebt-link"
+      <%= message('issue.technical_debt') -%>&nbsp;<a href="#" onclick="return toggleTechnicalDebt(this)" class="gray issue-technicaldebt-link"
            id="toggle-issue-technicaldebt"><%= message -%></a>
         &nbsp;
     <% end %>