Improved visibility of link to Agir.

This commit is contained in:
Christian P. MOMON 2020-03-06 14:17:40 +01:00
parent d5d189a0be
commit 81b45bb45d
2 changed files with 3 additions and 2 deletions

View file

@ -58,7 +58,8 @@ public class ProjectPage
TagDataManager data = new TagDataManager(); 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.setAttribute("agirLink", "href", "https://agir.april.org/projects/" + project.getIdentifier() + "/issues");
data.setContent("versionsup", BuildInformation.instance().version()); data.setContent("versionsup", BuildInformation.instance().version());

View file

@ -12,7 +12,7 @@
</head> </head>
<body> <body>
<div style="margin: 5px 10px 10px 10px;"> <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 id="mainCharts">
<div style="margin: 5px;"> <div style="margin: 5px;">
<a id="createClose3MonthsButton" href="#" class="button" onclick="javascript:createClosedSelect('3months');">3 months</a> <a id="createClose3MonthsButton" href="#" class="button" onclick="javascript:createClosedSelect('3months');">3 months</a>