This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 2e16f81  [OPENMEETINGS-1864] privacy link is added to the profile page
2e16f81 is described below

commit 2e16f81f6e4f9871694d18ff11ef3cfafcec8748
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Tue May 22 11:03:16 2018 +0700

    [OPENMEETINGS-1864] privacy link is added to the profile page
---
 .../java/org/apache/openmeetings/web/user/profile/ProfilePanel.html    | 3 +++
 .../java/org/apache/openmeetings/web/user/profile/ProfilePanel.java    | 3 +++
 2 files changed, 6 insertions(+)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/ProfilePanel.html
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/ProfilePanel.html
index e215f2a..3f38cec 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/ProfilePanel.html
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/ProfilePanel.html
@@ -22,5 +22,8 @@
 <wicket:panel>
        <form wicket:id="form" class="adminForm"/>
        <div wicket:id="changePasswd"></div>
+       <div style="text-align: center; padding-top: 10px;">
+               <a wicket:id="link" target="_blank"><wicket:message 
key="register.privacy.statement"/></a>
+       </div>
 </wicket:panel>
 </html>
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/ProfilePanel.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/ProfilePanel.java
index 20ba1eb..f834da5 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/ProfilePanel.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/ProfilePanel.java
@@ -19,6 +19,8 @@
 package org.apache.openmeetings.web.user.profile;
 
 import org.apache.openmeetings.web.common.UserBasePanel;
+import org.apache.openmeetings.web.pages.PrivacyPage;
+import org.apache.wicket.markup.html.link.BookmarkablePageLink;
 
 public class ProfilePanel extends UserBasePanel {
        private static final long serialVersionUID = 1L;
@@ -29,5 +31,6 @@ public class ProfilePanel extends UserBasePanel {
 
                final ChangePasswordDialog chPwdDlg = new 
ChangePasswordDialog("changePasswd");
                add(chPwdDlg, new ProfileForm("form", chPwdDlg));
+               add(new BookmarkablePageLink<>("link", PrivacyPage.class));
        }
 }

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to