From 0e0393c89e9502ef87cdfe15b47a93bdf4d323af Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 30 Nov 2014 12:14:45 +0100 Subject: [PATCH] warnings: show them if available --- application/views/scripts/process/show.phtml | 3 +-- application/views/scripts/warnings.phtml | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 application/views/scripts/warnings.phtml diff --git a/application/views/scripts/process/show.phtml b/application/views/scripts/process/show.phtml index c91c15e..f334e9b 100644 --- a/application/views/scripts/process/show.phtml +++ b/application/views/scripts/process/show.phtml @@ -2,12 +2,11 @@ tabs ?>

escape($this->title) ?> icon('dashboard') ?> - render('simulationlink.phtml') ?> - render('editlink.phtml') ?>

bp->renderHtml($this) ?> + render('warnings.phtml') ?>
diff --git a/application/views/scripts/warnings.phtml b/application/views/scripts/warnings.phtml new file mode 100644 index 0000000..9d1b16c --- /dev/null +++ b/application/views/scripts/warnings.phtml @@ -0,0 +1,6 @@ +warnings): ?> +

translate('Warnings') ?>

+warnings as $warning): ?> +escape($warning) ?>
+ +