← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2083: Improved markup in document form

 

------------------------------------------------------------
revno: 2083
committer: Lars <larshelg@larshelg-laptop>
branch nick: trunk
timestamp: Mon 2010-07-05 02:33:17 +0200
message:
  Improved markup in document form
modified:
  dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDocumentForm.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-reporting/src/main/webapp/dhis-web-reporting/viewDocumentForm.vm'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDocumentForm.vm	2010-06-15 03:12:16 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDocumentForm.vm	2010-07-05 00:33:17 +0000
@@ -14,26 +14,30 @@
             <table class="listTable" id="listTable">
                 <col>
                 <col width="20">
-                <col width="100">                
+                <col width="20">
+                <col width="20">
+                <col width="20">              
                 <thead>               
                 <tr>
                     <th>$i18n.getString( "name" )</th>
-                    <th colspan="3" class="{sorter: false}">$i18n.getString( "operations" )</th>
+                    <th colspan="4" class="{sorter: false}">$i18n.getString( "operations" )</th>
                 </tr>
                 </thead>
                 <tbody id="list">
                 #foreach ( $document in $documents )
                 <tr id="tr${document.id}">
                     <td>$encoder.htmlEncode( $document.name )</td>
-                    <td style="text-align:center; width: 60px">	
-						<a href="displayAddDocumentForm.action?id=$!document.id" title="$i18n.getString( "edit" )"><img src="../images/edit.png" alt="$i18n.getString( "edit" )"></a>
+					<td>
 						#if ( $document.external )
                     	   <a href="$document.url" title="$i18n.getString( 'view_report' )">
                     	#else
                     	   <a href="javascript:window.location.href='loadDocument.action?id=$document.id'" title="$i18n.getString( 'view_report' )">
                     	#end
-                    	<img src="../images/view_report.png" alt="$i18n.getString( 'view_report' )"></a>
+                    	<img src="../images/start_process.png" alt="$i18n.getString( 'view_report' )"></a>
                     </td>
+                    <td style="text-align:center">
+                    	<a href="displayAddDocumentForm.action?id=$!document.id" title="$i18n.getString( "edit" )"><img src="../images/edit.png" alt="$i18n.getString( "edit" )"></a>
+					</td>
                     <td style="text-align:center"><a href="javascript:addDocumentToDashboard( '$document.id' )" title="$i18n.getString( 'add_to_dashboard' )"><img src="../images/add_to_dashboard.png" alt="$i18n.getString( 'add_to_dashboard' )"></a></td>
                     <td style="text-align:center"><a href="javascript:removeDocument( $document.id )" title="$i18n.getString( 'remove_report' )"><img src="../images/delete.png" alt="$i18n.getString( 'remove_report' )"></a></td>
                 </tr>