#140 make additional fontawesome icons available for user flags

This commit is contained in:
Gary Sharp
2023-11-12 21:25:16 +11:00
parent 318a70d9a3
commit a2aaa4c913
3 changed files with 311 additions and 135 deletions
+178 -1
View File
@@ -70,6 +70,10 @@ namespace Disco.Services.Extensions
{
// Icons
Icons = new List<KeyValuePair<string, string>>(){
new KeyValuePair<string, string>("address-book" , "Address Book"),
new KeyValuePair<string, string>("address-card" , "Address Card"),
new KeyValuePair<string, string>("adjust" , "Adjust"),
new KeyValuePair<string, string>("amazon" , "Amazon"),
new KeyValuePair<string, string>("ambulance" , "Ambulance"),
new KeyValuePair<string, string>("anchor" , "Anchor"),
new KeyValuePair<string, string>("android" , "Android"),
@@ -80,11 +84,35 @@ namespace Disco.Services.Extensions
new KeyValuePair<string, string>("arrow-circle-left" , "Arrow Circle Left"),
new KeyValuePair<string, string>("arrow-circle-right" , "Arrow Circle Right"),
new KeyValuePair<string, string>("arrow-circle-up" , "Arrow Circle Up"),
new KeyValuePair<string, string>("arrow-down" , "Arrow Down"),
new KeyValuePair<string, string>("arrow-left" , "Arrow Left"),
new KeyValuePair<string, string>("arrow-right" , "Arrow Right"),
new KeyValuePair<string, string>("arrow-up" , "Arrow Up"),
new KeyValuePair<string, string>("arrows" , "Arrows"),
new KeyValuePair<string, string>("asterisk" , "Asterisk"),
new KeyValuePair<string, string>("at" , "At"),
new KeyValuePair<string, string>("balance-scale" , "Balance Scale"),
new KeyValuePair<string, string>("ban" , "Ban"),
new KeyValuePair<string, string>("bank" , "Bank"),
new KeyValuePair<string, string>("bar-chart" , "Bar Chart"),
new KeyValuePair<string, string>("barcode" , "Barcode"),
new KeyValuePair<string, string>("bars" , "Bars"),
new KeyValuePair<string, string>("bath" , "Bath"),
new KeyValuePair<string, string>("battery-0" , "Battery 0"),
new KeyValuePair<string, string>("battery-1" , "Battery 1"),
new KeyValuePair<string, string>("battery-2" , "Battery 2"),
new KeyValuePair<string, string>("battery-3" , "Battery 3"),
new KeyValuePair<string, string>("battery-4" , "Battery 4"),
new KeyValuePair<string, string>("bed" , "Bed"),
new KeyValuePair<string, string>("beer" , "Beer"),
new KeyValuePair<string, string>("bell" , "Bell"),
new KeyValuePair<string, string>("bell-slash" , "Bell Slash"),
new KeyValuePair<string, string>("binoculars" , "Binoculars"),
new KeyValuePair<string, string>("birthday-cake" , "Cake"),
new KeyValuePair<string, string>("bitcoin" , "Bitcoin"),
new KeyValuePair<string, string>("black-tie" , "Black Tie"),
new KeyValuePair<string, string>("blind" , "Blind"),
new KeyValuePair<string, string>("bluetooth" , "Bluetooth"),
new KeyValuePair<string, string>("bolt" , "Bolt"),
new KeyValuePair<string, string>("bomb" , "Bomb"),
new KeyValuePair<string, string>("book" , "Book"),
@@ -99,33 +127,107 @@ namespace Disco.Services.Extensions
new KeyValuePair<string, string>("cab" , "Cab"),
new KeyValuePair<string, string>("calculator" , "Calculator"),
new KeyValuePair<string, string>("calendar" , "Calendar"),
new KeyValuePair<string, string>("calendar-check-o" , "Calendar Check"),
new KeyValuePair<string, string>("calendar-minus-o" , "Calendar Minus"),
new KeyValuePair<string, string>("calendar-o" , "Calendar"),
new KeyValuePair<string, string>("calendar-plus-o" , "Calendar Plus"),
new KeyValuePair<string, string>("calendar-times-o" , "Calendar Times"),
new KeyValuePair<string, string>("car" , "Car"),
new KeyValuePair<string, string>("caret-square-o-down" , "Caret Square Down"),
new KeyValuePair<string, string>("caret-square-o-left" , "Caret Square Left"),
new KeyValuePair<string, string>("caret-square-o-right" , "Caret Square Right"),
new KeyValuePair<string, string>("caret-square-o-up" , "Caret Square Up"),
new KeyValuePair<string, string>("cart-arrow-down" , "Cart Arrow Down"),
new KeyValuePair<string, string>("cart-plus" , "Cart Plus"),
new KeyValuePair<string, string>("cc" , "CC"),
new KeyValuePair<string, string>("cc-amex" , "CC American Express"),
new KeyValuePair<string, string>("cc-mastercard" , "CC MasterCard"),
new KeyValuePair<string, string>("cc-paypal" , "CC PayPal"),
new KeyValuePair<string, string>("cc-stripe" , "CC Stripe"),
new KeyValuePair<string, string>("cc-visa" , "CC VISA"),
new KeyValuePair<string, string>("certificate" , "Certificate"),
new KeyValuePair<string, string>("chain" , "Chain"),
new KeyValuePair<string, string>("chain-broken" , "Chain Broken"),
new KeyValuePair<string, string>("check" , "Check"),
new KeyValuePair<string, string>("check-circle" , "Check Circle"),
new KeyValuePair<string, string>("check-circle-o" , "Check Circle Outline"),
new KeyValuePair<string, string>("check-square" , "Check Square"),
new KeyValuePair<string, string>("check-square-o" , "Check Square Outline"),
new KeyValuePair<string, string>("child" , "Child"),
new KeyValuePair<string, string>("chrome" , "Chrome"),
new KeyValuePair<string, string>("clipboard" , "Clipboard"),
new KeyValuePair<string, string>("clock-o" , "Clock"),
new KeyValuePair<string, string>("close" , "Close"),
new KeyValuePair<string, string>("cloud" , "Cloud"),
new KeyValuePair<string, string>("cloud-download" , "Cloud Download"),
new KeyValuePair<string, string>("cloud-upload" , "Cloud Upload"),
new KeyValuePair<string, string>("code" , "Code"),
new KeyValuePair<string, string>("code-fork" , "Code Fork"),
new KeyValuePair<string, string>("cog" , "Cog"),
new KeyValuePair<string, string>("cogs" , "Cogs"),
new KeyValuePair<string, string>("coffee" , "Coffee"),
new KeyValuePair<string, string>("comment" , "Comment"),
new KeyValuePair<string, string>("comment-o" , "Comment Outline"),
new KeyValuePair<string, string>("commenting" , "Commenting"),
new KeyValuePair<string, string>("commenting-o" , "Commenting Outline"),
new KeyValuePair<string, string>("comments" , "Comments"),
new KeyValuePair<string, string>("comments-o" , "Comments Outline"),
new KeyValuePair<string, string>("compass" , "Compass"),
new KeyValuePair<string, string>("compress" , "Compress"),
new KeyValuePair<string, string>("copy" , "Copy"),
new KeyValuePair<string, string>("copyright" , "Copyright"),
new KeyValuePair<string, string>("creative-commons" , "Creative-Commons"),
new KeyValuePair<string, string>("credit-card" , "Credit Card"),
new KeyValuePair<string, string>("credit-card-alt" , "Credit Card ALternative"),
new KeyValuePair<string, string>("crop" , "Crop"),
new KeyValuePair<string, string>("crosshairs" , "Crosshairs"),
new KeyValuePair<string, string>("cube" , "Cube"),
new KeyValuePair<string, string>("cubes" , "Cubes"),
new KeyValuePair<string, string>("cut" , "Cut"),
new KeyValuePair<string, string>("cutlery" , "Cutlery"),
new KeyValuePair<string, string>("database" , "Database"),
new KeyValuePair<string, string>("deaf" , "Deaf"),
new KeyValuePair<string, string>("desktop" , "Desktop"),
new KeyValuePair<string, string>("diamond" , "Diamond"),
new KeyValuePair<string, string>("dollar" , "Dollar"),
new KeyValuePair<string, string>("dot-circle-o" , "Dot Circle"),
new KeyValuePair<string, string>("drivers-license" , "Drivers License"),
new KeyValuePair<string, string>("drivers-license-o" , "Drivers License Outline"),
new KeyValuePair<string, string>("edge" , "Edge"),
new KeyValuePair<string, string>("edit" , "Edit"),
new KeyValuePair<string, string>("eject" , "Eject"),
new KeyValuePair<string, string>("envelope" , "Envelope"),
new KeyValuePair<string, string>("envelope-o" , "Envelope Outline"),
new KeyValuePair<string, string>("envelope-open" , "Envelope Open"),
new KeyValuePair<string, string>("envelope-open-o" , "Envelope Open Outline"),
new KeyValuePair<string, string>("envelope-square" , "Envelope Square"),
new KeyValuePair<string, string>("eraser" , "Eraser"),
new KeyValuePair<string, string>("exchange" , "Exchange"),
new KeyValuePair<string, string>("exclamation" , "Exclamation"),
new KeyValuePair<string, string>("exclamation-circle" , "Exclamation Circle"),
new KeyValuePair<string, string>("exclamation-triangle" , "Exclamation Triangle"),
new KeyValuePair<string, string>("expand" , "Expand"),
new KeyValuePair<string, string>("eye" , "Eye"),
new KeyValuePair<string, string>("eye-slash" , "Eye Slash"),
new KeyValuePair<string, string>("eyedropper" , "Eyedropper"),
new KeyValuePair<string, string>("fax" , "Fax"),
new KeyValuePair<string, string>("feed" , "Feed"),
new KeyValuePair<string, string>("female" , "Female"),
new KeyValuePair<string, string>("fighter-jet" , "Fighter Jet"),
new KeyValuePair<string, string>("file" , "File"),
new KeyValuePair<string, string>("film" , "Film"),
new KeyValuePair<string, string>("filter" , "Filter"),
new KeyValuePair<string, string>("fire" , "Fire"),
new KeyValuePair<string, string>("fire-extinguisher" , "Fire Extinguisher"),
new KeyValuePair<string, string>("firefox" , "FireFox"),
new KeyValuePair<string, string>("flag" , "Flag"),
new KeyValuePair<string, string>("flag-checkered" , "Flag Checkered"),
new KeyValuePair<string, string>("flag-o" , "Flag Outline"),
new KeyValuePair<string, string>("floppy-o" , "Floppy Outline"),
new KeyValuePair<string, string>("folder" , "Folder"),
new KeyValuePair<string, string>("folder-o" , "Folder Outline"),
new KeyValuePair<string, string>("folder-open" , "Folder Open"),
new KeyValuePair<string, string>("folder-open-o" , "Folder Open Outline"),
new KeyValuePair<string, string>("flask" , "Flask"),
new KeyValuePair<string, string>("frown-o" , "Frown"),
new KeyValuePair<string, string>("gamepad" , "Gamepad"),
@@ -133,41 +235,71 @@ namespace Disco.Services.Extensions
new KeyValuePair<string, string>("glass" , "Glass"),
new KeyValuePair<string, string>("globe" , "Globe"),
new KeyValuePair<string, string>("graduation-cap" , "Graduation Cap"),
new KeyValuePair<string, string>("group" , "Group"),
new KeyValuePair<string, string>("hand-grab-o" , "Hand Grab"),
new KeyValuePair<string, string>("hand-o-down" , "Hand Down"),
new KeyValuePair<string, string>("hand-o-left" , "Hand Left"),
new KeyValuePair<string, string>("hand-o-right" , "Hand Right"),
new KeyValuePair<string, string>("hand-o-up" , "Hand Up"),
new KeyValuePair<string, string>("hand-paper-o" , "Hand Paper"),
new KeyValuePair<string, string>("hand-pointer-o" , "Hand Pointer"),
new KeyValuePair<string, string>("hand-scissors-o" , "Hand Scissors"),
new KeyValuePair<string, string>("hand-spock-o" , "Hand Spock"),
new KeyValuePair<string, string>("handshake-o" , "Handshake"),
new KeyValuePair<string, string>("hashtag" , "Hashtag"),
new KeyValuePair<string, string>("hdd-o" , "Hdd"),
new KeyValuePair<string, string>("heart" , "Heart"),
new KeyValuePair<string, string>("heart-o" , "Heart Outline"),
new KeyValuePair<string, string>("heartbeat" , "Heartbeat"),
new KeyValuePair<string, string>("history" , "History"),
new KeyValuePair<string, string>("home" , "Home"),
new KeyValuePair<string, string>("hospital-o" , "Hospital"),
new KeyValuePair<string, string>("hourglass" , "Hourglass"),
new KeyValuePair<string, string>("hourglass-1" , "Hourglass 1"),
new KeyValuePair<string, string>("hourglass-2" , "Hourglass 2"),
new KeyValuePair<string, string>("hourglass-3" , "Hourglass 3"),
new KeyValuePair<string, string>("hourglass-o" , "Hourglass Outline"),
new KeyValuePair<string, string>("id-badge" , "Id Badge"),
new KeyValuePair<string, string>("image" , "Image"),
new KeyValuePair<string, string>("inbox" , "Inbox"),
new KeyValuePair<string, string>("info" , "Info"),
new KeyValuePair<string, string>("info-circle" , "Info Circle"),
new KeyValuePair<string, string>("key" , "Key"),
new KeyValuePair<string, string>("keyboard-o" , "Keyboard"),
new KeyValuePair<string, string>("language" , "Language"),
new KeyValuePair<string, string>("laptop" , "Laptop"),
new KeyValuePair<string, string>("leaf" , "Leaf"),
new KeyValuePair<string, string>("legal" , "Legal"),
new KeyValuePair<string, string>("lemon-o" , "Lemon"),
new KeyValuePair<string, string>("level-down" , "Level Down"),
new KeyValuePair<string, string>("level-up" , "Level Up"),
new KeyValuePair<string, string>("life-ring" , "Life Ring"),
new KeyValuePair<string, string>("lightbulb-o" , "Lightbulb"),
new KeyValuePair<string, string>("line-chart" , "Line Chart"),
new KeyValuePair<string, string>("linux" , "Linux"),
new KeyValuePair<string, string>("location-arrow" , "Location Arrow"),
new KeyValuePair<string, string>("lock" , "Lock"),
new KeyValuePair<string, string>("magnet" , "Magnet"),
new KeyValuePair<string, string>("male" , "Male"),
new KeyValuePair<string, string>("map-marker" , "Map Marker"),
new KeyValuePair<string, string>("medkit" , "Medkit"),
new KeyValuePair<string, string>("meh-o" , "Meh"),
new KeyValuePair<string, string>("microchip" , "Microchip"),
new KeyValuePair<string, string>("microphone" , "Microphone"),
new KeyValuePair<string, string>("microphone-slash" , "Microphone Slash"),
new KeyValuePair<string, string>("minus" , "Minus"),
new KeyValuePair<string, string>("minus-circle" , "Minus Circle"),
new KeyValuePair<string, string>("minus-square" , "Minus Square"),
new KeyValuePair<string, string>("minus-square-o" , "Minus Square Outline"),
new KeyValuePair<string, string>("mobile" , "Mobile"),
new KeyValuePair<string, string>("money" , "Money"),
new KeyValuePair<string, string>("moon-o" , "Moon"),
new KeyValuePair<string, string>("motorcycle" , "Motorcycle"),
new KeyValuePair<string, string>("music" , "Music"),
new KeyValuePair<string, string>("newspaper-o" , "Newspaper"),
new KeyValuePair<string, string>("paint-brush" , "Paint Brush"),
new KeyValuePair<string, string>("paper-plane" , "Paper Plane"),
new KeyValuePair<string, string>("paper-plane-o" , "Paper Plane Outline"),
new KeyValuePair<string, string>("paperclip" , "Paperclip"),
new KeyValuePair<string, string>("paw" , "Paw"),
new KeyValuePair<string, string>("pencil" , "Pencil"),
@@ -176,36 +308,81 @@ namespace Disco.Services.Extensions
new KeyValuePair<string, string>("picture-o" , "Picture"),
new KeyValuePair<string, string>("plane" , "Plane"),
new KeyValuePair<string, string>("plug" , "Plug"),
new KeyValuePair<string, string>("plus" , "Plus"),
new KeyValuePair<string, string>("plus-circle" , "Plus Circle"),
new KeyValuePair<string, string>("plus-square" , "Plus Square"),
new KeyValuePair<string, string>("plus-square-o" , "Plus Square Outline"),
new KeyValuePair<string, string>("power-off" , "Power Off"),
new KeyValuePair<string, string>("print" , "Print"),
new KeyValuePair<string, string>("puzzle-piece" , "Puzzle Piece"),
new KeyValuePair<string, string>("qrcode" , "QR Code"),
new KeyValuePair<string, string>("question" , "Question"),
new KeyValuePair<string, string>("question-circle" , "Question Circle"),
new KeyValuePair<string, string>("question-circle-o" , "Question Circle Outline"),
new KeyValuePair<string, string>("random" , "Random"),
new KeyValuePair<string, string>("recycle" , "Recycle"),
new KeyValuePair<string, string>("refresh" , "Refresh"),
new KeyValuePair<string, string>("registered" , "Registered"),
new KeyValuePair<string, string>("repeat" , "Repeat"),
new KeyValuePair<string, string>("retweet" , "Retweet"),
new KeyValuePair<string, string>("road" , "Road"),
new KeyValuePair<string, string>("rocket" , "Rocket"),
new KeyValuePair<string, string>("safari" , "Safari"),
new KeyValuePair<string, string>("search" , "Search"),
new KeyValuePair<string, string>("search-minus" , "Search Minus"),
new KeyValuePair<string, string>("search-plus" , "Search Plus"),
new KeyValuePair<string, string>("server" , "Server"),
new KeyValuePair<string, string>("shield" , "Shield"),
new KeyValuePair<string, string>("ship" , "Ship"),
new KeyValuePair<string, string>("shopping-bag" , "Shopping Bag"),
new KeyValuePair<string, string>("shopping-basket" , "Shopping Basket"),
new KeyValuePair<string, string>("shopping-cart" , "Shopping Cart"),
new KeyValuePair<string, string>("signal" , "Signal"),
new KeyValuePair<string, string>("smile-o" , "Smile"),
new KeyValuePair<string, string>("space-shuttle" , "Space Shuttle"),
new KeyValuePair<string, string>("star" , "Star"),
new KeyValuePair<string, string>("star-half" , "Star Half"),
new KeyValuePair<string, string>("star-half-empty" , "Star Half Empty"),
new KeyValuePair<string, string>("star-o" , "Star Outline"),
new KeyValuePair<string, string>("stethoscope" , "Stethoscope"),
new KeyValuePair<string, string>("sticky-note" , "Sticky Note"),
new KeyValuePair<string, string>("sticky-note-o" , "Sticky Note Outline"),
new KeyValuePair<string, string>("street-view" , "Street View"),
new KeyValuePair<string, string>("subway" , "Subway"),
new KeyValuePair<string, string>("suitcase" , "Suitcase"),
new KeyValuePair<string, string>("sun-o" , "Sun"),
new KeyValuePair<string, string>("tablet" , "Tablet"),
new KeyValuePair<string, string>("tachometer" , "Tachometer"),
new KeyValuePair<string, string>("tag" , "Tag"),
new KeyValuePair<string, string>("tags" , "Tags"),
new KeyValuePair<string, string>("tasks" , "Tasks"),
new KeyValuePair<string, string>("television" , "Television"),
new KeyValuePair<string, string>("thermometer-0" , "Thermometer 0"),
new KeyValuePair<string, string>("thermometer-1" , "Thermometer 1"),
new KeyValuePair<string, string>("thermometer-2" , "Thermometer 2"),
new KeyValuePair<string, string>("thermometer-3" , "Thermometer 3"),
new KeyValuePair<string, string>("thermometer-4" , "Thermometer 4"),
new KeyValuePair<string, string>("thumb-tack" , "Thumb Tack"),
new KeyValuePair<string, string>("thumbs-down" , "Thumbs Down"),
new KeyValuePair<string, string>("thumbs-o-down" , "Thumbs Down"),
new KeyValuePair<string, string>("thumbs-o-up" , "Thumbs Up"),
new KeyValuePair<string, string>("thumbs-up" , "Thumbs Up"),
new KeyValuePair<string, string>("thumb-tack" , "Thumb Tack"),
new KeyValuePair<string, string>("ticket" , "Ticket"),
new KeyValuePair<string, string>("trash" , "Trash"),
new KeyValuePair<string, string>("tree" , "Tree"),
new KeyValuePair<string, string>("trophy" , "Trophy"),
new KeyValuePair<string, string>("truck" , "Truck"),
new KeyValuePair<string, string>("umbrella" , "Umbrella"),
new KeyValuePair<string, string>("university" , "University"),
new KeyValuePair<string, string>("unlock" , "Unlock"),
new KeyValuePair<string, string>("unlock-alt" , "Unlock Alternative"),
new KeyValuePair<string, string>("usb" , "USB"),
new KeyValuePair<string, string>("user" , "User"),
new KeyValuePair<string, string>("user-circle" , "User Circle"),
new KeyValuePair<string, string>("user-circle-o" , "User Circle Outline"),
new KeyValuePair<string, string>("user-md" , "User MD"),
new KeyValuePair<string, string>("user-o" , "User Outline"),
new KeyValuePair<string, string>("user-secret" , "User Secret"),
new KeyValuePair<string, string>("wheelchair" , "Wheelchair"),
new KeyValuePair<string, string>("windows" , "Windows"),
new KeyValuePair<string, string>("wrench" , "Wrench"),
@@ -114,18 +114,18 @@
<a id="Config_UserFlags_Icon_Update" href="#" class="button small">Update</a>
<div id="Config_UserFlags_Icon_Update_Dialog" class="dialog" title="User Flag Icon">
<div>
<div class="icons">
@foreach (var icon in Model.Icons)
{
<i data-icon="@(icon.Key)" class="fa fa-@(icon.Key)" title="@icon.Value"></i>
}
</div>
<div class="colours">
@foreach (var colour in Model.ThemeColours)
{
<i data-colour="@(colour.Key)" class="fa fa-square d-@(colour.Key)" title="@colour.Value"></i>
}
</div>
<div class="icons">
@foreach (var icon in Model.Icons)
{
<i data-icon="@(icon.Key)" class="fa fa-@(icon.Key)" title="@icon.Value"></i>
}
</div>
</div>
</div>
<script>
@@ -138,8 +138,7 @@
resizable: false,
modal: true,
autoOpen: false,
width: 780,
height: 540,
width: 1000,
buttons: {
"Save": save,
Cancel: cancel
@@ -482,7 +482,7 @@ WriteLiteral(" title=\"User Flag Icon\"");
WriteLiteral(">\r\n <div>\r\n <div");
WriteLiteral(" class=\"icons\"");
WriteLiteral(" class=\"colours\"");
WriteLiteral(">\r\n");
@@ -494,7 +494,7 @@ WriteLiteral(">\r\n");
#line hidden
#line 118 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
foreach (var icon in Model.Icons)
foreach (var colour in Model.ThemeColours)
{
@@ -502,37 +502,38 @@ WriteLiteral(">\r\n");
#line hidden
WriteLiteral(" <i");
WriteLiteral(" data-icon=\"");
WriteLiteral(" data-colour=\"");
#line 120 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(icon.Key);
Write(colour.Key);
#line default
#line hidden
WriteLiteral("\"");
WriteAttribute("class", Tuple.Create(" class=\"", 5246), Tuple.Create("\"", 5271)
, Tuple.Create(Tuple.Create("", 5254), Tuple.Create("fa", 5254), true)
, Tuple.Create(Tuple.Create(" ", 5256), Tuple.Create("fa-", 5257), true)
WriteAttribute("class", Tuple.Create(" class=\"", 5261), Tuple.Create("\"", 5297)
, Tuple.Create(Tuple.Create("", 5269), Tuple.Create("fa", 5269), true)
, Tuple.Create(Tuple.Create(" ", 5271), Tuple.Create("fa-square", 5272), true)
, Tuple.Create(Tuple.Create(" ", 5281), Tuple.Create("d-", 5282), true)
#line 120 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
, Tuple.Create(Tuple.Create("", 5260), Tuple.Create<System.Object, System.Int32>(icon.Key
, Tuple.Create(Tuple.Create("", 5284), Tuple.Create<System.Object, System.Int32>(colour.Key
#line default
#line hidden
, 5260), false)
, 5284), false)
);
WriteAttribute("title", Tuple.Create(" title=\"", 5272), Tuple.Create("\"", 5291)
WriteAttribute("title", Tuple.Create(" title=\"", 5298), Tuple.Create("\"", 5319)
#line 120 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
, Tuple.Create(Tuple.Create("", 5280), Tuple.Create<System.Object, System.Int32>(icon.Value
, Tuple.Create(Tuple.Create("", 5306), Tuple.Create<System.Object, System.Int32>(colour.Value
#line default
#line hidden
, 5280), false)
, 5306), false)
);
WriteLiteral("></i>\r\n");
@@ -546,7 +547,7 @@ WriteLiteral("></i>\r\n");
#line hidden
WriteLiteral(" </div>\r\n <div");
WriteLiteral(" class=\"colours\"");
WriteLiteral(" class=\"icons\"");
WriteLiteral(">\r\n");
@@ -558,7 +559,7 @@ WriteLiteral(">\r\n");
#line hidden
#line 124 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
foreach (var colour in Model.ThemeColours)
foreach (var icon in Model.Icons)
{
@@ -566,38 +567,37 @@ WriteLiteral(">\r\n");
#line hidden
WriteLiteral(" <i");
WriteLiteral(" data-colour=\"");
WriteLiteral(" data-icon=\"");
#line 126 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(colour.Key);
Write(icon.Key);
#line default
#line hidden
WriteLiteral("\"");
WriteAttribute("class", Tuple.Create(" class=\"", 5623), Tuple.Create("\"", 5659)
, Tuple.Create(Tuple.Create("", 5631), Tuple.Create("fa", 5631), true)
, Tuple.Create(Tuple.Create(" ", 5633), Tuple.Create("fa-square", 5634), true)
, Tuple.Create(Tuple.Create(" ", 5643), Tuple.Create("d-", 5644), true)
WriteAttribute("class", Tuple.Create(" class=\"", 5636), Tuple.Create("\"", 5661)
, Tuple.Create(Tuple.Create("", 5644), Tuple.Create("fa", 5644), true)
, Tuple.Create(Tuple.Create(" ", 5646), Tuple.Create("fa-", 5647), true)
#line 126 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
, Tuple.Create(Tuple.Create("", 5646), Tuple.Create<System.Object, System.Int32>(colour.Key
, Tuple.Create(Tuple.Create("", 5650), Tuple.Create<System.Object, System.Int32>(icon.Key
#line default
#line hidden
, 5646), false)
, 5650), false)
);
WriteAttribute("title", Tuple.Create(" title=\"", 5660), Tuple.Create("\"", 5681)
WriteAttribute("title", Tuple.Create(" title=\"", 5662), Tuple.Create("\"", 5681)
#line 126 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
, Tuple.Create(Tuple.Create("", 5668), Tuple.Create<System.Object, System.Int32>(colour.Value
, Tuple.Create(Tuple.Create("", 5670), Tuple.Create<System.Object, System.Int32>(icon.Value
#line default
#line hidden
, 5668), false)
, 5670), false)
);
WriteLiteral("></i>\r\n");
@@ -617,40 +617,40 @@ WriteLiteral(" </div>\r\n
" dialog = $(\'#Config_UserFlags_Icon_Update_Dialog\').dialog({\r\n " +
" resizable: false,\r\n " +
" modal: true,\r\n autoOpen: f" +
"alse,\r\n width: 780,\r\n " +
" height: 540,\r\n " +
" buttons: {\r\n \"Save\": save,\r" +
"\n Cancel: cancel\r\n " +
" }\r\n });\r\n\r\n " +
" colours = dialog.find(\'.colours\');\r\n " +
" icons = dialog.find(\'.icons\');\r\n\r\n " +
" colours.on(\'click\', \'i\', selectColour);\r\n " +
" icons.on(\'click\', \'i\', selectIcon);\r\n " +
" }\r\n\r\n colours.find(\'i[" +
"data-colour=\"\' + icon.attr(\'data-colour\') + \'\"]\').each(selectColour);\r\n " +
" icons.find(\'i[data-icon=\"\' + icon.attr(\'data-icon\') +" +
" \'\"]\').each(selectIcon);\r\n\r\n dialog.dialog(\'o" +
"pen\');\r\n\r\n return false;\r\n " +
" }\r\n\r\n function selectColour() {\r\n " +
" var $this = $(this),\r\n " +
" colourCode = $this.attr(\'data-colour\'),\r\n " +
" previousColourCode = icons.attr(\'data-colour\');\r\n\r\n\r\n " +
" colours.find(\'i\').removeClass(\'selected fa-check-square" +
"\').addClass(\'fa-square\');\r\n $this.removeClass" +
"(\'fa-square\').addClass(\'fa-check-square selected\');\r\n\r\n " +
" if (previousColourCode)\r\n icon" +
"s.removeClass(\'d-\' + previousColourCode);\r\n i" +
"cons.attr(\'data-colour\', colourCode)\r\n icons." +
"addClass(\'d-\' + colourCode);\r\n }\r\n " +
" function selectIcon() {\r\n va" +
"r $this = $(this),\r\n iconCode = $this.att" +
"r(\'data-icon\');\r\n\r\n icons.find(\'i\').removeCla" +
"ss(\'selected\');\r\n $this.addClass(\'selected\');" +
"\r\n }\r\n\r\n function " +
"save() {\r\n var url = \'");
"alse,\r\n width: 1000,\r\n " +
" buttons: {\r\n " +
" \"Save\": save,\r\n Cancel: " +
"cancel\r\n }\r\n " +
" });\r\n\r\n colours = dialog.f" +
"ind(\'.colours\');\r\n icons = dialog.find(\'." +
"icons\');\r\n\r\n colours.on(\'click\', \'i\', sel" +
"ectColour);\r\n icons.on(\'click\', \'i\', sele" +
"ctIcon);\r\n }\r\n\r\n " +
" colours.find(\'i[data-colour=\"\' + icon.attr(\'data-colour\') + \'\"]\').each(se" +
"lectColour);\r\n icons.find(\'i[data-icon=\"\' + i" +
"con.attr(\'data-icon\') + \'\"]\').each(selectIcon);\r\n\r\n " +
" dialog.dialog(\'open\');\r\n\r\n return fals" +
"e;\r\n }\r\n\r\n functio" +
"n selectColour() {\r\n var $this = $(this),\r\n " +
" colourCode = $this.attr(\'data-colour\'),\r\n " +
" previousColourCode = icons.attr(\'data-col" +
"our\');\r\n\r\n\r\n colours.find(\'i\').removeClass(\'s" +
"elected fa-check-square\').addClass(\'fa-square\');\r\n " +
" $this.removeClass(\'fa-square\').addClass(\'fa-check-square selected\');\r\n\r\n " +
" if (previousColourCode)\r\n " +
" icons.removeClass(\'d-\' + previousColourCode);\r\n " +
" icons.attr(\'data-colour\', colourCode)\r\n " +
" icons.addClass(\'d-\' + colourCode);\r\n " +
" }\r\n function selectIcon() {\r\n " +
" var $this = $(this),\r\n " +
" iconCode = $this.attr(\'data-icon\');\r\n\r\n ic" +
"ons.find(\'i\').removeClass(\'selected\');\r\n $thi" +
"s.addClass(\'selected\');\r\n }\r\n\r\n " +
" function save() {\r\n var url = \'" +
"");
#line 187 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 186 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Url.Action(MVC.API.UserFlag.UpdateIconAndColour(id: Model.UserFlag.Id, redirect: true)));
@@ -681,7 +681,7 @@ WriteLiteral(@"',
");
#line 209 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 208 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
@@ -690,13 +690,13 @@ WriteLiteral(@"',
WriteLiteral(" </td>\r\n </tr>\r\n");
#line 212 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 211 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 212 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 211 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (hideAdvanced)
{
@@ -730,7 +730,7 @@ WriteLiteral(@">Show Advanced Options</button>
");
#line 228 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 227 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
@@ -744,13 +744,13 @@ WriteLiteral(">\r\n <th>\r\n On Assignment<br />Expres
"</th>\r\n <td>\r\n");
#line 234 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 233 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 234 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 233 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (canConfig)
{
@@ -758,56 +758,56 @@ WriteLiteral(">\r\n <th>\r\n On Assignment<br />Expres
#line default
#line hidden
#line 236 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 235 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Html.EditorFor(model => model.UserFlag.OnAssignmentExpression));
#line default
#line hidden
#line 236 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 235 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 237 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 236 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(AjaxHelpers.AjaxRemove());
#line default
#line hidden
#line 237 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 236 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 238 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 237 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(AjaxHelpers.AjaxSave());
#line default
#line hidden
#line 238 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 237 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 239 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 238 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(AjaxHelpers.AjaxLoader());
#line default
#line hidden
#line 239 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 238 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
@@ -829,7 +829,7 @@ WriteLiteral(@">
'");
#line 249 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 248 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Url.Action(MVC.API.UserFlag.UpdateOnAssignmentExpression(Model.UserFlag.Id)));
@@ -857,7 +857,7 @@ WriteLiteral("\',\r\n \'OnAssignmentExpressio
" </script>\r\n");
#line 278 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 277 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
else
{
@@ -874,7 +874,7 @@ WriteLiteral(" class=\"smallMessage\"");
WriteLiteral(">&lt;None Specified&gt;</span>\r\n");
#line 284 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 283 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
else
{
@@ -891,7 +891,7 @@ WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 288 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 287 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Model.UserFlag.OnAssignmentExpression);
@@ -900,7 +900,7 @@ WriteLiteral(" ");
WriteLiteral("\r\n </div>\r\n");
#line 290 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 289 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
}
@@ -930,13 +930,13 @@ WriteLiteral(">\r\n <th>\r\n On Unassignment<br />Expr
" </th>\r\n <td>\r\n");
#line 304 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 303 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 304 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 303 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (canConfig)
{
@@ -944,56 +944,56 @@ WriteLiteral(">\r\n <th>\r\n On Unassignment<br />Expr
#line default
#line hidden
#line 306 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 305 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Html.EditorFor(model => model.UserFlag.OnUnassignmentExpression));
#line default
#line hidden
#line 306 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 305 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 307 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 306 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(AjaxHelpers.AjaxRemove());
#line default
#line hidden
#line 307 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 306 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 308 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 307 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(AjaxHelpers.AjaxSave());
#line default
#line hidden
#line 308 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 307 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 309 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 308 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(AjaxHelpers.AjaxLoader());
#line default
#line hidden
#line 309 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 308 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
@@ -1015,7 +1015,7 @@ WriteLiteral(@">
'");
#line 319 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 318 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Url.Action(MVC.API.UserFlag.UpdateOnUnassignmentExpression(Model.UserFlag.Id)));
@@ -1053,7 +1053,7 @@ WriteLiteral(@"',
");
#line 348 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 347 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
else
{
@@ -1070,7 +1070,7 @@ WriteLiteral(" class=\"smallMessage\"");
WriteLiteral(">&lt;None Specified&gt;</span>\r\n");
#line 354 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 353 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
else
{
@@ -1087,7 +1087,7 @@ WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 358 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 357 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Model.UserFlag.OnUnassignmentExpression);
@@ -1096,7 +1096,7 @@ WriteLiteral(" ");
WriteLiteral("\r\n </div>\r\n");
#line 360 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 359 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
}
@@ -1128,7 +1128,7 @@ WriteLiteral(">\r\n <th>\r\n Linked Groups:\r\n
WriteLiteral(" ");
#line 376 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 375 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Html.Partial(MVC.Config.Shared.Views.LinkedGroupInstance, new LinkedGroupModel()
{
CanConfigure = canConfig,
@@ -1147,7 +1147,7 @@ WriteLiteral("\r\n");
WriteLiteral(" ");
#line 385 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 384 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Html.Partial(MVC.Config.Shared.Views.LinkedGroupInstance, new LinkedGroupModel()
{
CanConfigure = canConfig,
@@ -1164,13 +1164,13 @@ WriteLiteral(" ");
WriteLiteral("\r\n");
#line 394 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 393 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 394 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 393 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (canConfig)
{
@@ -1178,14 +1178,14 @@ WriteLiteral("\r\n");
#line default
#line hidden
#line 396 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 395 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Html.Partial(MVC.Config.Shared.Views.LinkedGroupShared));
#line default
#line hidden
#line 396 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 395 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
@@ -1195,7 +1195,7 @@ WriteLiteral("\r\n");
WriteLiteral(" </div>\r\n </td>\r\n </tr>\r\n </table>\r\n</div>\r\n");
#line 403 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 402 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (canBulkAssignment || canDelete || canShowUsers || canExportCurrent || canExportAll)
{
@@ -1209,13 +1209,13 @@ WriteLiteral(" class=\"actionBar\"");
WriteLiteral(">\r\n");
#line 406 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 405 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 406 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 405 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (canExportCurrent)
{
@@ -1223,14 +1223,14 @@ WriteLiteral(">\r\n");
#line default
#line hidden
#line 408 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 407 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Html.ActionLinkButton("Export Current Assignments", MVC.Config.UserFlag.Export(null, Model.UserFlag.Id, true), "Config_UserFlags_Actions_ExportCurrent_Button"));
#line default
#line hidden
#line 408 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 407 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
@@ -1240,7 +1240,7 @@ WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 410 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 409 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (canExportAll)
{
@@ -1248,14 +1248,14 @@ WriteLiteral(" ");
#line default
#line hidden
#line 412 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 411 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Html.ActionLinkButton("Export All Assignments", MVC.Config.UserFlag.Export(null, Model.UserFlag.Id, false), "Config_UserFlags_Actions_ExportAll_Button"));
#line default
#line hidden
#line 412 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 411 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
@@ -1265,7 +1265,7 @@ WriteLiteral(" ");
WriteLiteral(" ");
#line 414 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 413 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (canBulkAssignment)
{
@@ -1351,7 +1351,7 @@ WriteLiteral(">\r\n user6<br />\r\n
WriteLiteral(" ");
#line 447 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 446 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(ActiveDirectory.Context.PrimaryDomain.NetBiosName);
@@ -1364,7 +1364,7 @@ WriteLiteral(" class=\"code\"");
WriteLiteral(">user6,smi0099,");
#line 449 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 448 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(ActiveDirectory.Context.PrimaryDomain.NetBiosName);
@@ -1377,7 +1377,7 @@ WriteLiteral(" class=\"code\"");
WriteLiteral(">user6;smi0099;");
#line 450 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 449 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(ActiveDirectory.Context.PrimaryDomain.NetBiosName);
@@ -1452,7 +1452,7 @@ WriteLiteral(" <script>\r\n $(function () {\r\n
"\').attr(\'action\', \'");
#line 517 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 516 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Url.Action(MVC.API.UserFlag.BulkAssignUsers(Model.UserFlag.Id, true)));
@@ -1462,7 +1462,7 @@ WriteLiteral("\');\r\n\r\n assignDialog.addClass(\'lo
" $.getJSON(\'");
#line 520 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 519 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Url.Action(MVC.API.UserFlag.AssignedUsers(Model.UserFlag.Id)));
@@ -1488,7 +1488,7 @@ WriteLiteral(@"', function (response, result) {
assignUserIds.closest('form').attr('action', '");
#line 537 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 536 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Url.Action(MVC.API.UserFlag.BulkAssignUsers(Model.UserFlag.Id, false)));
@@ -1509,7 +1509,7 @@ WriteLiteral(@"');
");
#line 549 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 548 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
@@ -1518,7 +1518,7 @@ WriteLiteral(@"');
WriteLiteral(" ");
#line 550 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 549 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (canDelete)
{
@@ -1526,14 +1526,14 @@ WriteLiteral(" ");
#line default
#line hidden
#line 552 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 551 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Html.ActionLinkButton("Delete", MVC.API.UserFlag.Delete(Model.UserFlag.Id, true), "Config_UserFlags_Actions_Delete_Button"));
#line default
#line hidden
#line 552 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 551 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
@@ -1553,13 +1553,13 @@ WriteLiteral("></i>\r\n This item will be permanently deleted
"covered.<br />\r\n <br />\r\n");
#line 558 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 557 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line default
#line hidden
#line 558 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 557 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (Model.CurrentAssignmentCount > 0)
{
@@ -1569,7 +1569,7 @@ WriteLiteral("></i>\r\n This item will be permanently deleted
WriteLiteral(" <strong>");
#line 560 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 559 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Model.CurrentAssignmentCount);
@@ -1578,7 +1578,7 @@ WriteLiteral(" <strong>");
WriteLiteral(" user");
#line 560 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 559 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Model.CurrentAssignmentCount != 1 ? "s are" : " is");
@@ -1591,7 +1591,7 @@ WriteLiteral(" <br />\r\n");
WriteLiteral(" <br />\r\n");
#line 563 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 562 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
@@ -1634,7 +1634,7 @@ WriteLiteral(@">
");
#line 595 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 594 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
@@ -1643,7 +1643,7 @@ WriteLiteral(@">
WriteLiteral(" ");
#line 596 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 595 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
if (canShowUsers)
{
@@ -1651,14 +1651,14 @@ WriteLiteral(" ");
#line default
#line hidden
#line 598 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 597 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
Write(Html.ActionLinkButton(string.Format("Show {0} user{1}", Model.CurrentAssignmentCount, (Model.CurrentAssignmentCount == 1 ? null : "s")), MVC.Search.Query(Model.UserFlag.Id.ToString(), "UserFlag"), "Config_UserFlags_Actions_ShowUsers_Button"));
#line default
#line hidden
#line 598 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 597 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
@@ -1668,7 +1668,7 @@ WriteLiteral(" ");
WriteLiteral(" </div>\r\n");
#line 601 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
#line 600 "..\..\Areas\Config\Views\UserFlag\Show.cshtml"
}
#line default