show friendly message when no packages match criteria
This commit is contained in:
parent
8ef83b2de8
commit
17c0aec1fb
|
@ -9,8 +9,6 @@
|
||||||
|
|
||||||
<TabStrip>
|
<TabStrip>
|
||||||
<TabPanel Name="Download" ResourceKey="Download">
|
<TabPanel Name="Download" ResourceKey="Download">
|
||||||
@if (_packages != null && _packages.Count > 0)
|
|
||||||
{
|
|
||||||
<ModuleMessage Type="MessageType.Info" Message="Download one or more modules from the list below. Once you are ready click Install to complete the installation."></ModuleMessage>
|
<ModuleMessage Type="MessageType.Info" Message="Download one or more modules from the list below. Once you are ready click Install to complete the installation."></ModuleMessage>
|
||||||
|
|
||||||
<table class="table table-borderless" style=" margin: auto; width: 50% !important;">
|
<table class="table table-borderless" style=" margin: auto; width: 50% !important;">
|
||||||
|
@ -25,6 +23,10 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@if (_packages != null)
|
||||||
|
{
|
||||||
|
if (_packages.Count > 0)
|
||||||
|
{
|
||||||
<Pager Items="@_packages">
|
<Pager Items="@_packages">
|
||||||
<Row>
|
<Row>
|
||||||
<td>
|
<td>
|
||||||
|
@ -38,6 +40,14 @@
|
||||||
</Row>
|
</Row>
|
||||||
</Pager>
|
</Pager>
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
<br />
|
||||||
|
<div class="mx-auto text-center">
|
||||||
|
@Localizer["Search.NoResults"]
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
}
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel Name="Upload" ResourceKey="Upload">
|
<TabPanel Name="Upload" ResourceKey="Upload">
|
||||||
<table class="table table-borderless">
|
<table class="table table-borderless">
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
|
|
||||||
<TabStrip>
|
<TabStrip>
|
||||||
<TabPanel Name="Download" ResourceKey="Download">
|
<TabPanel Name="Download" ResourceKey="Download">
|
||||||
@if (_packages != null && _packages.Count > 0)
|
|
||||||
{
|
|
||||||
<ModuleMessage Type="MessageType.Info" Message="Download one or more themes from the list below. Once you are ready click Install to complete the installation."></ModuleMessage>
|
<ModuleMessage Type="MessageType.Info" Message="Download one or more themes from the list below. Once you are ready click Install to complete the installation."></ModuleMessage>
|
||||||
|
|
||||||
<table class="table table-borderless" style=" margin: auto; width: 50% !important;">
|
<table class="table table-borderless" style=" margin: auto; width: 50% !important;">
|
||||||
|
@ -25,6 +23,10 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@if (_packages != null)
|
||||||
|
{
|
||||||
|
if (_packages.Count > 0)
|
||||||
|
{
|
||||||
<Pager Items="@_packages">
|
<Pager Items="@_packages">
|
||||||
<Row>
|
<Row>
|
||||||
<td>
|
<td>
|
||||||
|
@ -38,6 +40,14 @@
|
||||||
</Row>
|
</Row>
|
||||||
</Pager>
|
</Pager>
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
<br />
|
||||||
|
<div class="mx-auto text-center">
|
||||||
|
@Localizer["Search.NoResults"]
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
}
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel Name="Upload" ResourceKey="Upload">
|
<TabPanel Name="Upload" ResourceKey="Upload">
|
||||||
<table class="table table-borderless">
|
<table class="table table-borderless">
|
||||||
|
|
|
@ -135,4 +135,7 @@
|
||||||
<data name="Module.HelpText" xml:space="preserve">
|
<data name="Module.HelpText" xml:space="preserve">
|
||||||
<value>Upload one or more module packages. Once they are uploaded click Install to complete the installation.</value>
|
<value>Upload one or more module packages. Once they are uploaded click Install to complete the installation.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Search.NoResults" xml:space="preserve">
|
||||||
|
<value>No Modules Match The Criteria Provided</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
|
@ -135,4 +135,7 @@
|
||||||
<data name="Theme.HelpText" xml:space="preserve">
|
<data name="Theme.HelpText" xml:space="preserve">
|
||||||
<value>Upload one or more theme packages. Once they are uploaded click Install to complete the installation.</value>
|
<value>Upload one or more theme packages. Once they are uploaded click Install to complete the installation.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Search.NoResults" xml:space="preserve">
|
||||||
|
<value>No Themes Match The Criteria Provided</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
Loading…
Reference in New Issue
Block a user