#467 edit button
This commit is contained in:
parent
b45c154fbd
commit
8228cbceb3
@ -7,7 +7,7 @@
|
||||
<div class="clear-both utilbar">
|
||||
@if (Model.GanjoorPage.Poem != null)
|
||||
{
|
||||
|
||||
|
||||
@if (Model.LoggedIn)
|
||||
{
|
||||
<a href="/User/Editor?id=@Model.GanjoorPage.Id" role="button" class="cursor-pointer" title="ویرایش">
|
||||
@ -53,7 +53,19 @@
|
||||
</div>
|
||||
</a>
|
||||
}
|
||||
|
||||
|
||||
@if (Model.GanjoorPage.GanjoorPageType == RMuseum.Models.Ganjoor.GanjoorPageType.PoetPage || Model.GanjoorPage.GanjoorPageType == RMuseum.Models.Ganjoor.GanjoorPageType.CatPage)
|
||||
{
|
||||
@if (Model.LoggedIn)
|
||||
{
|
||||
<a href="/User/CatEditor?id=@Model.GanjoorPage.Id" role="button" class="cursor-pointer" title="ویرایش">
|
||||
<div class="circled-number">
|
||||
<svg class="noindent-info-button" height="24px" viewBox="0 0 24 24" width="24px" fill="#5f6368"><path d="M0 0h24v24H0V0z" fill="none" /><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" /></svg>
|
||||
</div>
|
||||
</a>
|
||||
}
|
||||
}
|
||||
|
||||
@if (!string.IsNullOrEmpty(Model.PreviousUrl))
|
||||
{
|
||||
<a href="@Html.Raw(Model.PreviousUrl)" role="button" class="cursor-pointer" title="قبلی">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user