Skip to content

Commit 1740181

Browse files
committed
Fix Details Page: Metadata Edit button missing #2273
1 parent 6842aed commit 1740181

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Views/Form/MetadataEditor.cshtml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@
162162
<button class="bx-button function bx-disabled" disabled="disabled" title="You can only download the metadata of the latest version directly.">Download Metadata </button>
163163
}
164164

165-
@*@if (Model.EditRight)
166-
{
167-
<button class="bx-button small function" title="Edit Metadata" onclick="edit()">
168-
<span class="fa fa-pencil"></span>
169-
<span style="padding:5px;">
170-
Edit Metadata
171-
</span>
172-
</button>
173-
}*@
165+
@if (Model.EditRight)
166+
{
167+
<button class="bx-button small function" title="Edit Metadata" onclick="edit()">
168+
<span class="fa fa-pencil"></span>
169+
<span style="padding:5px;">
170+
Edit Metadata
171+
</span>
172+
</button>
173+
}
174174

175175
@Html.CheckBox("showAll", @showOptional, new { OnChange = "switchVisibilityOfOptionalElements()", Name = "showAll", Id = "showAll" })
176176

0 commit comments

Comments
 (0)