Project

General

Profile

« Previous | Next » 

Revision 4159

Added by daigle almost 16 years ago

Add support for separate LDAP and organization level configurations

View differences:

metacat-configuration.jsp
31 31
	MetaCatVersion metacatVersion = (MetaCatVersion)request.getAttribute("metaCatVersion"); 	
32 32
	DBVersion databaseVersion = (DBVersion)request.getAttribute("databaseVersion");		
33 33
    Boolean propsConfigured = (Boolean)request.getAttribute("propsConfigured");	
34
    Boolean orgsConfigured = (Boolean)request.getAttribute("orgsConfigured");	
34 35
    Boolean ldapConfigured = (Boolean)request.getAttribute("ldapConfigured");	
35 36
    Boolean skinsConfigured = (Boolean)request.getAttribute("skinsConfigured");	
36 37
    Boolean dbConfigured = (Boolean)request.getAttribute("dbConfigured");
......
76 77
%>
77 78

  
78 79
<%
80
	if (orgsConfigured != null && orgsConfigured) {
81
%>
82
        <tr>
83
        <td class="configured-tag">[configured] </td>
84
		<td class="property-title"> Organization Configuration </td> 
85
		<td class="configure-link"> <a href="<%= request.getContextPath() %>/admin?configureType=organization">Reconfigure Now</a> </td>
86
        </tr>
87
<%
88
	} else {
89
%>    		
90
        <tr>
91
 		<td class=unconfigured-tag>[unconfigured] </td>  
92
 		<td class=property-title> Organization Configuration </td>
93
		<td class=configure-link> <a href="<%= request.getContextPath() %>/admin?configureType=organization">Configure Now</a> </td>			
94
    	</tr>
95
<%
96
	}
97
%>
98

  
99
<%
79 100
	if (propsConfigured != null && propsConfigured) {
80 101
%>
81 102
        <tr>

Also available in: Unified diff