Skip to content

Commit

Permalink
NCITERM-862: Adding EVS Explore Link on the NCIt Home Page
Browse files Browse the repository at this point in the history
  • Loading branch information
kimong committed Jun 9, 2021
1 parent 9d5c745 commit 93e7fb3
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 2 deletions.
1 change: 1 addition & 0 deletions software/build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@
<filter token="ncit.url" value="${ncit.url}"/>
<filter token="ncim.url" value="${ncim.url}"/>
<filter token="evsreportexporter.url" value="${evsreportexporter.url}"/>
<filter token="evsexplore.url" value="${evsexplore.url}"/>
<filter token="lex.evs.api.url" value="${lex.evs.api.url}"/>
<filter token="ncit.mapping.url" value="${ncit.mapping.url}"/>
<filter token="graph.db.url" value="${graph.db.url}"/>
Expand Down
5 changes: 5 additions & 0 deletions software/ncitbrowser/conf/NCItBrowserProperties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,11 @@
<value>@evsreportexporter.url@</value>
</ConfigurableItem>

<ConfigurableItem>
<key>EVS_EXPLORE_URL</key>
<value>@evsexplore.url@</value>
</ConfigurableItem>

<ConfigurableItem>
<key>NCIT_URL</key>
<value>@ncit.url@</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public class NCItBrowserProperties {
public static final String NCIM_URL = "NCIM_URL";
public static final String NCIT_URL = "NCIT_URL";
public static final String EVS_REPORT_EXPORTER_URL = "EVS_REPORT_EXPORTER_URL";
public static final String EVS_EXPLORE_URL = "EVS_EXPLORE_URL";

public static final String TERM_SUGGESTION_APPLICATION_URL =
"TERM_SUGGESTION_APPLICATION_URL";
Expand Down Expand Up @@ -137,6 +138,7 @@ public class NCItBrowserProperties {
private static String _ncim_url = null;
private static String _ncit_url = null;
private static String _evsreportexporter_url = null;
private static String _evsexplore_url = null;

private static int _pagination_time_out = 4;
private static int _minimum_search_string_length = 1;
Expand Down Expand Up @@ -281,6 +283,10 @@ private NCItBrowserProperties() {
_browserProperties
.getProperty(_browserProperties.EVS_REPORT_EXPORTER_URL);

_evsexplore_url =
_browserProperties
.getProperty(_browserProperties.EVS_EXPLORE_URL);

_owl_role_quantifiers =
_browserProperties
.getProperty(_browserProperties.OWL_ROLE_QUANTIFIERS);
Expand Down Expand Up @@ -605,6 +611,10 @@ public static String getEVS_REPORT_EXPORTER_URL() {
return _evsreportexporter_url;
}

public static String getEVS_EXPLORE_URL() {
return _evsexplore_url;
}

public static String getNCBO_API_KEY() {
return _ncbo_api_key;
}
Expand Down
Binary file added software/ncitbrowser/web/images/ExploreTile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions software/ncitbrowser/web/pages/templates/quickLink.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,14 @@ if (quicklink_dictionary != null) {
if (active_scheme == null) {
%>
<li>
<a href="<%= NCItBrowserProperties.getEVS_REPORT_EXPORTER_URL() %>" tabindex="0" alt="NCI Thesaurus Exporter">
<a href="<%= NCItBrowserProperties.getEVS_EXPLORE_URL() %>" tabindex="0" alt="EVS Explore">
NCI Thesaurus Exporter</a>
</li>
</li>
<li>
<a href="<%= NCItBrowserProperties.getEVS_EXPLORE_URL() %>" tabindex="0" alt="EVS Explore">
EVS Explore</a>
</li>

<%
}
%>
Expand Down
21 changes: 21 additions & 0 deletions software/ncitbrowser/web/pages/templates/welcome.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,27 @@ JSPUtils.JSPHeaderInfo info = new JSPUtils.JSPHeaderInfo(request);
A tool to customize exports of data from NCI Thesaurus (NCIt).
</td>
</tr>

<tr valign="top">
<td width="10px"></td>
<td>
<a href="<%= NCItBrowserProperties.getEVS_EXPLORE_URL() %>" tabindex="0" alt="EVS Explore">
<img
src="<%=basePath%>/images/ExploreTile.jpg"
width="77"
height="38px"
alt="EVS Explore"
border="0"
/>
</a>
</td>
<td width="3px"></td>
<td class="textbody" valign="top">
<a href="<%= NCItBrowserProperties.getEVS_EXPLORE_URL() %>" tabindex="0" alt="EVS Explore">
EVS Explore</a>:
EVS next generation terminology browser.
</td>
</tr>


<tr valign="top">
Expand Down

0 comments on commit 93e7fb3

Please sign in to comment.