+ <% if plugin.getLicense() %>
- <% if plugin.getHomepageUrl() %>
- <%= link_to 'Plugin details', plugin.getHomepageUrl(), :class=>'external' %> |
- <% end %>
- <% if plugin.getIssueTrackerUrl() %>
- <%= link_to "Issue Tracker", plugin.getIssueTrackerUrl(), :class=>'external' %>
- <% end %>
+ License: <%= h(plugin.getLicense()) %>
- <%
- end
- if update.isCompatible()
- %>
+ <% end %>
+ <% if plugin.getOrganization() %>
- Version: <%= update.getRelease().getVersion() -%>
+ By: <%= link_to_if plugin.getOrganizationUrl(), plugin.getOrganization(), plugin.getOrganizationUrl(), :class=>'external' %>
-
- <% if plugin.getTermsConditionsUrl() %>
- I accept the <%= link_to 'Terms and Conditions', plugin.getTermsConditionsUrl(), :class => 'external' %>
- <% end %>
-
-
-
- <% elsif update.requiresSonarUpgrade
- %>
-
- Version: <%= update.getRelease().getVersion() -%> (not compatible, needs Sonar upgrade)
-
- <%
- end
- %>
+ <% end %>
+ <% if plugin.getHomepageUrl() || plugin.getIssueTrackerUrl() %>
+
+ <% if plugin.getHomepageUrl() %>
+ <%= link_to 'Plugin details', plugin.getHomepageUrl(), :class=>'external' %> |
+ <% end %>
+ <% if plugin.getIssueTrackerUrl() %>
+ <%= link_to "Issue Tracker", plugin.getIssueTrackerUrl(), :class=>'external' %>
+ <% end %>
+
+ <%
+ end
+ if update.isCompatible()
+ %>
+
+ Version: <%= update.getRelease().getVersion() -%>
+
+
+ <% if plugin.getTermsConditionsUrl() %>
+ I accept the <%= link_to 'Terms and Conditions', plugin.getTermsConditionsUrl(), :class => 'external' %>
+ <% end %>
+
-