← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9660: disabled dataElement sharing in UI (still available with direct use of SharingController)

 

------------------------------------------------------------
revno: 9660
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-01-30 15:44:08 +0700
message:
  disabled dataElement sharing in UI (still available with direct use of SharingController)
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm	2013-01-30 03:20:49 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm	2013-01-30 08:44:08 +0000
@@ -60,8 +60,8 @@
 			<div id="content">
 			<table class="listTable" id="dataElementList">
 				<col/>				
-				<col width="145px"/>
-                <thead>				
+				<col width="125px"/>
+                <thead>
 					<tr>
 						<th>$i18n.getString( "name" )</th>
 						<th class="{sorter: false}">$i18n.getString( "operations" )</th>
@@ -73,11 +73,13 @@
 					<td onclick="showDataElementDetails( $dataElement.id )">$encoder.htmlEncode( $dataElement.displayName )</td>
 					<td style="text-align:right">
 
+                    #* Hide sharing controls for 2.11 release
                     #if ( $security.canManage( $dataElement ) )
                     <a href="javascript:showSharingDialog('dataElement', '$dataElement.uid');"><img src="../images/relationship.png" alt="$i18n.getString( 'sharing_settings' )"></a>
                     #else
                     <img src="../images/relationship-denied.png">
                     #end
+                    *#
 
                     #if( $security.canUpdate( $dataElement ) )
                     <a href="showUpdateDataElementForm.action?id=$dataElement.id" title="$i18n.getString( 'edit' )"><img src="../images/edit.png" alt="$i18n.getString( 'edit' )"/></a>