diff --git a/Yavsc/ViewModels/Manage/IndexViewModel.cs b/Yavsc/ViewModels/Manage/IndexViewModel.cs index e57d708f..1b12c792 100644 --- a/Yavsc/ViewModels/Manage/IndexViewModel.cs +++ b/Yavsc/ViewModels/Manage/IndexViewModel.cs @@ -27,5 +27,7 @@ namespace Yavsc.ViewModels.Manage public long ActiveCommandCount { get; set; } public bool HasDedicatedCalendar { get; set; } + + public IEnumerable Roles { get; set; } } } diff --git a/Yavsc/Views/Manage/Index.cshtml b/Yavsc/Views/Manage/Index.cshtml index 68e5fb31..7b6293df 100755 --- a/Yavsc/Views/Manage/Index.cshtml +++ b/Yavsc/Views/Manage/Index.cshtml @@ -16,6 +16,11 @@ [@SR["Change"]] + @if (Model.Roles.Count()>0) { +
@SR["Roles"]:
+
+ @string.Join(", ",Model.Roles) +
}
@SR["Password"]:
[@if (Model.HasPassword) {