Revize 6f6a4547
Přidáno uživatelem Filip Jani před více než 5 roky(ů)
app/FrontModule/component/Transliteration/TransliterationSearchResultList.php | ||
---|---|---|
153 | 153 |
|
154 | 154 |
public function handleChangePage($page, $limit) |
155 | 155 |
{ |
156 |
$this->page = $page; |
|
157 |
$this->limit = $limit; |
|
158 |
$this->paginator = new Paginator($page, $limit); |
|
159 |
$this->redrawControl('resultList'); |
|
156 |
if($this->presenter->isAjax()) |
|
157 |
{ |
|
158 |
$this->page = $page; |
|
159 |
$this->limit = $limit; |
|
160 |
$this->paginator = new Paginator($page, $limit); |
|
161 |
$this->redrawControl('resultList'); |
|
162 |
} |
|
160 | 163 |
} |
161 | 164 |
|
162 | 165 |
public function createComponentSearchSettingsForm() |
app/FrontModule/presenters/TransliterationPresenter.php | ||
---|---|---|
57 | 57 |
$this->transliterationSearchResultListFactory = $transliterationSearchResultListFactory; |
58 | 58 |
} |
59 | 59 |
|
60 |
|
|
61 |
public function actionSearch() |
|
62 |
{ |
|
63 |
|
|
64 |
} |
|
65 |
|
|
66 |
public function actionSearchResult() |
|
67 |
{ |
|
68 |
|
|
69 |
} |
|
70 |
|
|
71 | 60 |
public function actionView($id) |
72 | 61 |
{ |
73 | 62 |
$transliteration = $this->transliterationRepository->getTransliterationDetail($id); |
app/FrontModule/templates/Transliteration/view.latte | ||
---|---|---|
8 | 8 |
<div> |
9 | 9 |
|
10 | 10 |
<div> |
11 |
<a href="#">edit book</a> |
|
|
11 |
<a n:href=":Admin:Book:edit $transliteration->id_book">edit book</a> |
|
|
12 | 12 |
<a href="#">edit transliteration info</a> |
13 | 13 |
</div> |
14 | 14 |
|
Také k dispozici: Unified diff
Re #7328 přidání odkazu na editaci knížky