cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf-fediz git commit: Minor update to clientTokens.jsp
Date Fri, 29 Jan 2016 12:11:02 GMT
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 <sberyozkin@gmail.com>
Authored: Fri Jan 29 12:10:47 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@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>
 	       <%
 	          }
 	       %>


Mime
View raw message