Revision 36186
Added by Stefania Martziou about 9 years ago
modules/uoa-goldoa-portal/trunk/src/main/java/eu/dnetlib/client/fundingrequest/newrequest/publicationstep/JournalDisplayInfo.java | ||
---|---|---|
62 | 62 |
if (journal.getLicence() != null && !journal.getLicence().trim().equals("")) |
63 | 63 |
contents += "<dl class=\"dl-horizontal\"><dt>LICENCE</dt><dd>" + journal.getLicence() + "</dd></dl>"; |
64 | 64 |
|
65 |
contents += "<dl class=\"dl-horizontal\"><dt>APC</dt><dd>" + journal.getApc() + "</dd></dl>";
|
|
65 |
contents += "<dl class=\"dl-horizontal\"><dt>APC</dt><dd>" + (Math.round(journal.getApc()*100) / 100.0) + " Euros</dd></dl>";
|
|
66 | 66 |
|
67 |
contents += "<dl class=\"dl-horizontal\"><dt>DISCOUNT</dt><dd>" + journal.getDiscount() + "</dd></dl>";
|
|
67 |
contents += "<dl class=\"dl-horizontal\"><dt>DISCOUNT</dt><dd>" + (Math.round(journal.getDiscount()*100) / 100.0) + " %</dd></dl>";
|
|
68 | 68 |
|
69 | 69 |
contents += "</div>"; |
70 | 70 |
journalDisplayInfoElement.setHTML(contents); |
modules/uoa-goldoa-portal/trunk/src/main/webapp/GoldOAPortal.html | ||
---|---|---|
42 | 42 |
<div id="block-headerbar"> |
43 | 43 |
<div class="uk-container uk-container-center"> |
44 | 44 |
<header class="clearfix" id="header"> |
45 |
<a href="https://beta.openaire.eu" id="logo">
|
|
46 |
<div><img alt="OpenAIREplus logo" src="https://beta.openaire.eu/images/site_images/OpenAIREplus_logo.png" style="vertical-align: bottom; width: 80%; height:80%;"></div>
|
|
45 |
<a href="https://www.openaire.eu/" id="logo">
|
|
46 |
<div><img alt="OpenAIREplus logo" src="https://www.openaire.eu/images/site_images/OpenAIREplus_logo.png" style="vertical-align: bottom; width: 80%; height:80%;"></div>
|
|
47 | 47 |
</a> |
48 | 48 |
<div class="headingText">FP7 post-grant Gold Open Access Pilot</div> |
49 | 49 |
<div id="searchhdr"></div> |
Also available in: Unified diff
In journal display info floats are converted to numbers with 2 decimal digits when displayed, and apc gets labeled as euros and the discount gets labeled as a percentage