Skip to content
Browse files

Merging to 2.8.x: SAK-21709 - Privacy status is no longer localized i…

…n output

svn merge -c 104229 https://source.sakaiproject.org/svn/user/trunk .



git-svn-id: https://source.sakaiproject.org/svn/user/branches/sakai-2.8.x@104230 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information...
1 parent 60d1613 commit 9c7fea63b2b28472ccc0ef2593c11ac55c7cf153 nbotimer@unicon.net committed Jan 31, 2012
View
4 user-tool-prefs/tool/src/java/org/sakaiproject/user/tool/PrivacyBean.java
@@ -175,6 +175,10 @@ public void setPrivacyStatus(String privacyStatus) {
this.privacyStatus = privacyStatus;
}
+ public String getDisplayStatus() {
+ return getMessageBundleString(getCurrentStatus());
+ }
+
/**
* Return TRUE if privacy set to visible, FALSE if set to hidden
View
2 user-tool-prefs/tool/src/webapp/prefs/privacy.jsp
@@ -88,7 +88,7 @@
<h:outputText value="#{msgs.privacy_stmt1}" />
<f:verbatim><strong></f:verbatim>
- <h:outputText value="#{privacyBean.currentStatus}" />
+ <h:outputText value="#{privacyBean.displayStatus}" />
<f:verbatim></strong></f:verbatim>
<h:outputText value="#{msgs.privacy_stmt_show} " rendered="#{privacyBean.show}" />

0 comments on commit 9c7fea6

Please sign in to comment.
Something went wrong with that request. Please try again.