restoring stats section collapsable buttons
This commit is contained in:
parent
36820d39ac
commit
c0b3c6ad7e
@ -2,18 +2,7 @@
|
||||
@using DNTPersianUtils.Core
|
||||
|
||||
<div id="utils-navbar">
|
||||
@if (Model.GanjoorPage != null
|
||||
&&
|
||||
(
|
||||
Model.GanjoorPage.Poem != null
|
||||
||
|
||||
!string.IsNullOrEmpty(Model.PreviousUrl) || !string.IsNullOrEmpty(Model.NextUrl)
|
||||
||
|
||||
(Model.CategoryPoemGeoDateTags != null && Model.CategoryPoemGeoDateTags.Length > 0)
|
||||
||
|
||||
(Model.CategoryHasRecitations)
|
||||
)
|
||||
)
|
||||
@if (Model.GanjoorPage != null)
|
||||
{
|
||||
<div class="clear-both utilbar">
|
||||
@if (Model.GanjoorPage.Poem != null)
|
||||
|
||||
@ -402,7 +402,7 @@ namespace RMuseum.Services.Implementation
|
||||
|
||||
string htmlText = "<div class=\"related-images-frame\" id=\"cat-stats\">";
|
||||
htmlText += $"<div class=\"century\">{Environment.NewLine}";
|
||||
htmlText += $"آمار{Environment.NewLine}";
|
||||
htmlText += $" آمار <a role=\"button\" class=\"w3tooltip cursor-pointer\" onclick=\"switch_section('stats-section', 'stats-collapse-button')\"><i class=\"info-buttons expand_circle_down\" id=\"stats-collapse-button\"></i><span class=\"w3tooltiptext\">جمع شود / باز شود</span></a>{Environment.NewLine}";
|
||||
htmlText += $"</div>{Environment.NewLine}";
|
||||
|
||||
htmlText += $"<div id=\"stats-section\">{Environment.NewLine}";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user