aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Notebooks
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views/Notebooks')
-rw-r--r--h-source/Application/Views/Notebooks/page.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/h-source/Application/Views/Notebooks/page.php b/h-source/Application/Views/Notebooks/page.php
index fd8389a..66c7506 100644
--- a/h-source/Application/Views/Notebooks/page.php
+++ b/h-source/Application/Views/Notebooks/page.php
@@ -20,14 +20,15 @@
// along with h-source. If not, see <http://www.gnu.org/licenses/>.
?>
- <?php if (!$isDeleted) { ?>
+ <?php if (!$isDeleted or $isadmin) { ?>
<?php
$tableName = (strcmp($this->action,'view') === 0) ? 'hardware' : 'revisions';
+ $displayClass = ($isDeleted and $isadmin) ? 'display_none' : null;
?>
<?php foreach ($table as $item) { ?>
- <div class="notebooks_viewall">
+ <div class="notebooks_viewall <?php echo $displayClass;?>">
<!--if revision-->
<?php if (strcmp($this->action,'revision') === 0) { ?>