X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fheader.tpl;h=806bd4853922c609f9f7c43fcb5c5f38d4588bcd;hb=45ca7d2258832cb0d2465eb16dd646d925458106;hp=b09f0da670cf53f1d56eb70fea48e6540bbc27f8;hpb=1fad211ab12fc66117094e33425f8414fccd2cfa;p=timetracker.git diff --git a/WEB-INF/templates/mobile/header.tpl b/WEB-INF/templates/mobile/header.tpl index b09f0da6..806bd485 100644 --- a/WEB-INF/templates/mobile/header.tpl +++ b/WEB-INF/templates/mobile/header.tpl @@ -21,11 +21,11 @@ {assign var="tab_width" value="300"} - +
- + {if $user->custom_logo} @@ -36,7 +36,7 @@
- +
{if $user->custom_logo} @@ -52,32 +52,76 @@ - + + +{if $authenticated} + {if $user->can('administer_site')} + + + + + + + + + {else} - -{if $errors->yes()} - + +
+ + + + + + {/if} +{/if} + + +{if $err->yes()} +
- {foreach $errors->getErrors() as $error} + {foreach $err->getErrors() as $error} {$error.message}
{* No need to escape as they are not coming from user and may contain a link. *} {/foreach}
{/if} - + - -{if $messages->yes()} - + +{if $msg->yes()} +
- {foreach $messages->getErrors() as $message} + {foreach $msg->getErrors() as $message} {$message.message}
{* No need to escape. *} {/foreach}
{/if} - +