Skip to content

Commit

Permalink
Typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
pepakriz committed Sep 9, 2013
1 parent 8c35c00 commit 450c0bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CmsModule/Content/Components/RouteControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ protected function createComponentTable()
$table->setTranslator($this->presenter->context->translator->translator);
$table->addColumn('title', 'Title')
->setSortable()
->getCellPrototype()->width = '100%';
->getCellPrototype()->width = '70%';
$table->getColumn('title')
->setFilter()->setSuggestion();

$table->addColumn('url', 'Url')
->setSortable()
->getCellPrototype()->width = '100%';
->getCellPrototype()->width = '30%';
$table->getColumn('url')
->setFilter()->setSuggestion();

Expand Down
7 changes: 3 additions & 4 deletions Resources/administration/@layout.latte
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,10 @@

{if !$presenter instanceof CmsModule\Administration\Presenters\PanelPresenter}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-flag glyphicon-white"></span> <b class="caret"></b></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-flag glyphicon-white"></span> {_$presenter->lang} <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="nav-header"></li>
<li><a n:href="this lang=>cs">cs</a></li>
<li><a n:href="this lang=>en">en</a></li>
<li><a n:if="$presenter->lang != 'en'" n:href="this lang => 'en'" class="lang">en</a></li>
<li><a n:if="$presenter->lang != 'cs'" n:href="this lang => 'cs'" class="lang">cs</a></li>
</ul>
</li>
{/if}
Expand Down

0 comments on commit 450c0bf

Please sign in to comment.