Code

Updated reference tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Apr 2010 10:41:53 +0000 (10:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Apr 2010 10:41:53 +0000 (10:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17833 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/references/contents.tpl

index a913e00a470485a05ae4b13419914a5764b57400..bbab62a1e9191123fedb6b94c23cad45091b4ffa 100644 (file)
@@ -1,20 +1,28 @@
 
 <h3>{t}Object info{/t}</h3>
-{if !$someACL|regex_replace:"/[cdmw]/":"" == "r"}
-    {msgPool type='permView'}
-{else}
-
-    {if $modifyTimestamp==""}
-        Last modified: {t}Unknown{/t}
-    {else}
-        Last modified: {$modifyTimestamp}
-    {/if}
-
-    {if $completeACL|regex_replace:"/[cdmw]/":"" == "r"}
-        <br>
-        {t}View current entry ldif{/t}&nbsp;<button type='submit' name='viewLdif'>{t}View{/t}</button>
-    {/if}
-{/if}
+<table width='100%' summary='{t}Object info{/t}'>
+    <tr>
+        <td style='width:48%;'>
+            {if !$someACL|regex_replace:"/[cdmw]/":"" == "r"}
+                {msgPool type='permView'}
+            {else}
+                {if $modifyTimestamp==""}
+                    Last modified: {t}Unknown{/t}
+                {else}
+                    Last modified: {$modifyTimestamp}
+                {/if}
+            {/if}
+        </td>
+        <td class='right-border'>
+          &nbsp;
+        </td>
+        <td>
+            {if $completeACL|regex_replace:"/[cdmw]/":"" == "r"}
+                {t}View current entry ldif{/t}&nbsp;<button type='submit' name='viewLdif'>{t}View{/t}</button>
+            {/if}
+        </td>
+    </tr>
+</table>
 <hr>
 <table summary='{t}Object references{/t}' class='reference-tab'>
     <tr>
@@ -33,7 +41,9 @@
                 <h3>{t}ACL trace{/t}</h3>
                 {msgPool type='permView'}
             {else}
+                <div style='height:350px; overflow: scroll;'>
                 {$acls}
+                </div>
             {/if}
         </td>
     </tr>