Permalink
Browse files

Icons displayed after name now, more clean now

  • Loading branch information...
1 parent e33339d commit 88ccb28bf6f481b8f5cce1988ba74330d38c56f7 @jasir committed Apr 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 component.latte
View
@@ -45,12 +45,12 @@
{var params = $template->parametersInfo($object)}
{if count($params) > 0}
- <li><span title="persistent parameters are marked with @">Parameters ({=count($params)})</span> {include #toggler open=>$parametersOpen}
+ <li><span title="persistent parameters are marked with P icon">Parameters ({=count($params)})</span> {include #toggler open=>$parametersOpen}
<ul {if !$parametersOpen}class="nette-hidden"{/if}>
{foreach $params as $name =>$param}
<li>
{if $param['persistent']}
- <strong>{include #icon type=>'P', title=>"persistent"}{$name}</strong> = <code>{?var_dump($param['value'])}</code>
+ <strong>{$name}</strong> {include #icon type=>'P', title=>"persistent"} = <code>{?var_dump($param['value'])}</code>
{if $param['value'] === $param['meta']['def']}
<strong>(default value)</strong>
{/if}

0 comments on commit 88ccb28

Please sign in to comment.