Skip to content

Commit

Permalink
add a column for database update date in the result table
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasmoreau committed Jan 28, 2015
1 parent 3d8c4ab commit 6ae5c32
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions portal.war/src/main/webapp/xhtml/preview/table.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
<h:column>
<h:outputText styleClass="headerText" value="Response" />
</h:column>
<h:column>
<h:outputLink styleClass="headerText" value="https://github.com/VAMDC/Standards/blob/master/doc/source/dataAccessProtocol/vamdctap.rst#data-modifcation-time" >
Last database update
</h:outputLink>
</h:column>
<h:column>
<h:outputText styleClass="headerText" value="Download" />
</h:column>
Expand Down Expand Up @@ -74,11 +79,17 @@
<rich:toolTip value="#{node.statusDescription}" styleClass="toolTip"
direction="bottom-right" />
</h:outputText>
<h:outputText value="#{node.modifyDate}" rendered="#{node.lastModSet}">
<s:convertDateTime type="both" pattern=" (dd/MM/yyyy HH:mm)" />
</h:outputText>
<h:outputText value=" (#{node.truncated}%)"

<h:outputText value=" (#{node.truncated}% of data returned)"
rendered="#{node.status=='TRUNCATED'}" />

</h:column>

<h:column>
<h:outputText value="#{node.modifyDate}" rendered="#{node.lastModSet}">
<s:convertDateTime type="both" pattern=" dd/MM/yyyy HH:mm " />
</h:outputText>
<h:outputText value="Not available" rendered="#{!node.lastModSet}" />
</h:column>

<h:column>
Expand Down

0 comments on commit 6ae5c32

Please sign in to comment.