Skip to content

Commit

Permalink
TRUNK-2449 [fixed the tab-title message]
Browse files Browse the repository at this point in the history
  • Loading branch information
k-joseph committed Jul 15, 2013
1 parent b1177d4 commit c77d8fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Parameters

<openmrs:hasPrivilege privilege="View Encounters">
<div id="encounters">
<div class="boxHeader${model.patientVariation}"><c:choose><c:when test="${empty model.title}"><openmrs:message code="Encounter.header"/></c:when><c:otherwise><openmrs:message code="${model.title}"/></c:otherwise></c:choose></div>
<div class="boxHeader${model.patientVariation}"><c:choose><c:when test="${empty model.title}"><openmrs:message code="Encounter.header"/></c:when><c:otherwise><openmrs:message code="${model.title}" arguments="${model.num}"/></c:otherwise></c:choose></div>
<div class="box${model.patientVariation}">
<div>
<table cellspacing="0" cellpadding="2" id="patientEncountersTable">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Parameters:
<c:if test="${model.showDefinedNumberOfEncounters}"> <%-- showDefinedNumberOfEncounters shows the given number of encounters entered in the dashboard.encounters.maximumNumberToShow global property value --%>
<openmrs:hasPrivilege privilege="View Encounters">
<openmrs:globalProperty var="maxEncs" key="dashboard.encounters.maximumNumberToShow" defaultValue="" />
<openmrs:message code="Encounter.last.definedEncounters" arguments="${ maxEncs }" />
<openmrs:portlet url="patientEncounters" id="patientDashboardEncounters" patientId="${patient.patientId}" parameters="num=${maxEncs}|title=Encounter.last.definedEncounters|formEntryReturnUrl=${pageContext.request.contextPath}/patientDashboard.form" />
<br/>
</openmrs:hasPrivilege>
Expand Down

0 comments on commit c77d8fd

Please sign in to comment.