Browse Source

Improved visibility of link to Agir.

master
Christian P. MOMON 2 years ago
parent
commit
81b45bb45d
  1. 3
      src/org/april/agirstatool/core/pages/ProjectPage.java
  2. 2
      src/org/april/agirstatool/core/pages/project.xhtml

3
src/org/april/agirstatool/core/pages/ProjectPage.java

@ -58,7 +58,8 @@ public class ProjectPage
TagDataManager data = new TagDataManager();
data.setContent("agirLink", project.getName());
data.setContent("projectName", "Project " + project.getName());
data.setAttribute("projectName", "href", project.getPath());
data.setAttribute("agirLink", "href", "https://agir.april.org/projects/" + project.getIdentifier() + "/issues");
data.setContent("versionsup", BuildInformation.instance().version());

2
src/org/april/agirstatool/core/pages/project.xhtml

@ -12,7 +12,7 @@
</head>
<body>
<div style="margin: 5px 10px 10px 10px;">
<h1><a href="index.xhtml">Agir Statool</a><sup id="versionsup" style="font-size: 9px;">v0.0.14</sup>Project <a id="agirLink" href="#">n/a</a></h1>
<h1><a href="index.xhtml">Agir Statool</a><sup id="versionsup" style="font-size: 9px;">v0.0.14</sup><a id="projectName" href="#">n/a</a> <a id="agirLink" href="#">Link to Agir</a></h1>
<div id="mainCharts">
<div style="margin: 5px;">
<a id="createClose3MonthsButton" href="#" class="button" onclick="javascript:createClosedSelect('3months');">3 months</a>

Loading…
Cancel
Save