plugins update tab

This commit is contained in:
Abdulrahman
2019-05-02 19:51:46 +03:00
parent ea01c7d2a7
commit 73b7fbf19d
5 changed files with 80 additions and 44 deletions

View File

@@ -16,6 +16,9 @@
<li class="nav-item">
<a class="nav-link (case == store?active:)" href="{action}&amp;case=store">{lang.KLEEJA_STORE}</a>
</li>
<li class="nav-item">
<a class="nav-link (case == check?active:)" href="{action}&amp;case=check">{lang.R_CHECK_UPDATE}</a>
</li>
</ul>
@@ -130,7 +133,14 @@
<!-- ...... -->
<!-- store -->
<!-- ..... -->
<ELSEIF NAME="case == store">
<ELSEIF NAME="case == store" OR="case == check">
<IF NAME="no_store_plugins">
<div class="alert alert-info my-1">
<IF NAME="case == check">{lang.ALL_PLUGINS_UPDATED}<ELSE>{lang.NO_PLUGINS}</IF>
</div>
</IF>
<ul class="list-unstyled list-group mt-2">
<LOOP NAME="store_plugins">
<li class="media d-flex justify-content-between list-group-item">
@@ -139,7 +149,7 @@
<h5 class="mt-0 mb-1 pull-(lang.DIR==ltr?left:right)">{{title}}</h5>
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary pull-(lang.DIR==ltr?right:left)" data-toggle="modal" data-target="#Modal_{{name}}">
{lang.VIEW}
<IF NAME="case == check">{lang.UPDATE}<ELSE>{lang.VIEW}</IF>
</button>
<!-- Modal -->