Skip to content

Commit 82a9b2d

Browse files
committed
Merge branch 'rc' of https://github.com/BEXIS2/Core into rc
2 parents 26d637b + 1740181 commit 82a9b2d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI/Controllers/API/CurationEntryController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private static List<CurationLabel> GetCurationLabels()
141141

142142
private static String GetCurationGroupName()
143143
{
144-
var groupName = ModuleManager.GetModuleSettings("DDM").GetValueByKey<string>("curatorsGroupName");
144+
var groupName = ModuleManager.GetModuleSettings("DDM").GetValueByKey("curatorsGroupName").ToString();
145145
if (string.IsNullOrEmpty(groupName))
146146
{
147147
return "curator";

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)