svn commit: r472640 - /incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entitymaint.jsp

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r472640 - /incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entitymaint.jsp

sichen
Author: sichen
Date: Wed Nov  8 12:59:35 2006
New Revision: 472640

URL: http://svn.apache.org/viewvc?view=rev&rev=472640
Log:
OFBIZ-421: Add [Reln] link to view relations in the main Entity Data Maintenance page. Thanks to Ashish Vijaywargiya

Modified:
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entitymaint.jsp

Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entitymaint.jsp
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entitymaint.jsp?view=diff&rev=472640&r1=472639&r2=472640
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entitymaint.jsp (original)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/entity/entitymaint.jsp Wed Nov  8 12:59:35 2006
@@ -49,6 +49,7 @@
             <td>&nbsp;</td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
+            <td>&nbsp;</td>            
           </tr>
         
         <%int colSize = entities.size()/3 + 1;%>
@@ -58,7 +59,7 @@
               <td><div class='tabletext' style='FONT-SIZE: xx-small;'><%=entity.getEntityName()%></div></td>
               <%if (entity instanceof ModelViewEntity) {%>
                   <%if (security.hasEntityPermission("ENTITY_DATA", "_VIEW", session) || security.hasEntityPermission(entity.getPlainTableName(), "_VIEW", session)) {%>
-                    <td colspan='2' align="center"><div class='tabletext' style='FONT-SIZE: xx-small;'>View Entity</div></td>
+                    <td colspan='3' align="center"><div class='tabletext' style='FONT-SIZE: xx-small;'>View Entity</div></td>
                     <td><a href='<ofbiz:url>/FindGeneric?entityName=<%=entity.getEntityName()%>&find=true&VIEW_SIZE=50&VIEW_INDEX=0</ofbiz:url>' class="buttontext" style='FONT-SIZE: xx-small;'>All</a></td>
                   <%} else {%>
                     <td colspan='3' align="center"><div class='tabletext' style='FONT-SIZE: xx-small;'>View Entity</div></td>
@@ -70,6 +71,7 @@
                     <td><div class='tabletext' style='FONT-SIZE: xx-small;'>NP</div></td>
                   <%}%>
                   <%if (security.hasEntityPermission("ENTITY_DATA", "_VIEW", session) || security.hasEntityPermission(entity.getPlainTableName(), "_VIEW", session)) {%>
+                    <td><a href='<ofbiz:url>/ViewRelations?entityName=<%=entity.getEntityName()%></ofbiz:url>' class="buttontext" style='FONT-SIZE: xx-small;'>Reln</a></td>                  
                     <td><a href='<ofbiz:url>/FindGeneric?entityName=<%=entity.getEntityName()%></ofbiz:url>' class="buttontext" style='FONT-SIZE: xx-small;'>Fnd</a></td>
                     <td><a href='<ofbiz:url>/FindGeneric?entityName=<%=entity.getEntityName()%>&find=true&VIEW_SIZE=50&VIEW_INDEX=0</ofbiz:url>' class="buttontext" style='FONT-SIZE: xx-small;'>All</a></td>
                   <%} else {%>
@@ -92,6 +94,7 @@
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
+                <td>&nbsp;</td>                
               </tr>
             <%}%>
         <%}%>
@@ -99,6 +102,24 @@
         </table>
     </td>
   </tr>
+  <tr>
+     <td>&nbsp;</td>
+  </tr>  
+  <tr>
+     <td class="tableheadtext">Note : </td>
+  </tr>  
+  <tr>
+     <td class="tabletext">Crt :- Create New</td>
+  </tr>  
+  <tr>
+     <td class="tabletext">Reln :- View Relation</td>
+  </tr>  
+  <tr>
+     <td class="tabletext">Fnd :- Find Record</td>
+  </tr>  
+  <tr>
+     <td class="tabletext">All :- Find All Records</td>
+  </tr>  
 </table>
 <%}else{%>
   <h3>You do not have permission to view this page (ENTITY_MAINT needed).</h3>