You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2016/01/29 13:11:02 UTC

cxf-fediz git commit: Minor update to clientTokens.jsp

Repository: cxf-fediz
Updated Branches:
  refs/heads/master 3a53baccd -> 485b96744


Minor update to clientTokens.jsp


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/485b9674
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/485b9674
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/485b9674

Branch: refs/heads/master
Commit: 485b967449a36f37bbf1405bb60a2e309afc3c80
Parents: 3a53bac
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Fri Jan 29 12:10:47 2016 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Fri Jan 29 12:10:47 2016 +0000

----------------------------------------------------------------------
 .../oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp   | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/485b9674/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp b/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp
index d87ca2c..dd1505f 100644
--- a/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp
+++ b/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp
@@ -94,11 +94,17 @@
 		       }
 		   %>
            <%
-	          if (token.getRefreshToken() != null) {
+	          if (!tokens.getRefreshTokens().isEmpty()) {
 	       %>
 	         <td>
+	          <%
+	          if (token.getRefreshToken() != null) {
+	          %>
 	           <%=    token.getRefreshToken() %>
-	         </td>  
+	          <%
+	            }
+	          %> 
+	         </td>
 	       <%
 	          }
 	       %>