修改BUG:演示模式下禁止更改管理员显示名称 closed #IV93R

#Issue
https://gitee.com/LongbowEnterprise/dashboard/issues?id=IV93R
This commit is contained in:
Argo Zhang 2019-04-12 15:17:35 +08:00
parent b79b8b8d57
commit f68a90db7e
1 changed files with 133 additions and 130 deletions

View File

@ -1,4 +1,4 @@
@model ProfilesModel
@model ProfilesModel
@{
ViewBag.Title = "个人中心";
}
@ -33,6 +33,9 @@
<div class="card">
<div class="card-header">基本资料</div>
<div class="card-body" data-toggle="LgbValidate" data-valid-button="#btnSaveDisplayName">
<div class="alert alert-danger" role="alert" asp-condition="@Model.IsDemo">
<span>演示系统禁止更改管理员显示名称</span>
</div>
<form class="form-inline">
<div class="row">
<div class="form-group col-sm-6 col-md-auto">
@ -45,7 +48,7 @@
</div>
</div>
</form>
<div class="modal-footer" asp-auth="saveDisplayName">
<div class="modal-footer" asp-auth="saveDisplayName" asp-condition="!@Model.IsDemo">
<button id="btnSaveDisplayName" data-method="user" class="btn btn-secondary" type="button"><i class="fa fa-save"></i><span>保存</span></button>
</div>
</div>