Explorar o código

fixed header links for record in TableMsgs route

Piotr Labudda %!s(int64=10) %!d(string=hai) anos
pai
achega
e2aadb3859
Modificáronse 1 ficheiros con 11 adicións e 4 borrados
  1. 11 4
      SE/se-lib/Route/TableMsgs.php

+ 11 - 4
SE/se-lib/Route/TableMsgs.php

@@ -89,8 +89,12 @@ class Route_TableMsgs extends RouteBase {
 .tblMsgsListItem { cursor:pointer; }
 </style>
 <div class="container">
-	<h3><i class="glyphicon glyphicon-envelope"></i> Wiadomości powiązane z rekordem nr <code><?php echo $idRow; ?></code>
-		<br><small>z tabeli <a href="index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=<?php echo $idTable; ?>"><?php echo $tblAcl->getRawLabel(); ?></a></small>
+	<h3 style="margin-bottom:20px; border-bottom:1px solid #e5e5e5;"><i class="glyphicon glyphicon-envelope"></i> Wiadomości powiązane z rekordem nr <code><?php echo $idRow; ?></code>
+		<br>
+<!--		<small>z tabeli <a href="index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=<?php echo $idTable; ?>"><?php echo $tblAcl->getRawLabel(); ?></a></small> -->
+		<small style="display:block; text-align:right">
+			<a style="font-size:12px; line-height:15px; vertical-align:text-bottom;" title="Edytuj rekord" href="index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=<?php echo $idTable; ?>#EDIT/<?php echo $idRow; ?>"><i class="glyphicon glyphicon-pencil"></i> Edytuj rekord <?php echo $idRow; ?></a>
+		</small>
 	</h3>
 	<?php if ($createdId > 0) : ?>
 		<?php echo SE_Layout::alert('info', "Wysłano wiadomość nr '{$createdId}'"); ?>
@@ -702,9 +706,12 @@ function tblMsgsLoadMoreRows(n) {
 		$backLink = "{$linkBase}&_task=tableRow";
 		?>
 <div class="container">
-	<h3><i class="glyphicon glyphicon-envelope"></i> <a href="<?php echo $backLink; ?>">Wiadomości powiązane z rekordem nr <?php echo $idRow; ?></a>
+	<h3 style="margin-bottom:20px; border-bottom:1px solid #e5e5e5;"><i class="glyphicon glyphicon-envelope"></i> <a href="<?php echo $backLink; ?>">Wiadomości powiązane z rekordem nr <?php echo $idRow; ?></a>
 		&raquo; Wiadomość nr <code><?php echo $msg['_raw']->ID; ?></code>
-		<br><small>z tabeli <a href="index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=<?php echo $idTable; ?>"><?php echo $tblAcl->getRawLabel(); ?></a></small>
+<!--		<br><small>z tabeli <a href="index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=<?php echo $idTable; ?>"><?php echo $tblAcl->getRawLabel(); ?></a></small> -->
+		<small style="display:block; text-align:right">
+			<a style="font-size:12px; line-height:15px; vertical-align:text-bottom;" title="Edytuj rekord" href="index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=<?php echo $idTable; ?>#EDIT/<?php echo $idRow; ?>"><i class="glyphicon glyphicon-pencil"></i> Edytuj rekord <?php echo $idRow; ?></a>
+		</small>
 	</h3>
 	<div class="panel panel-<?php echo $msg['type']; ?>">
 		<div class="panel-heading">