|
181 | 181 | <thead> |
182 | 182 | <tr> |
183 | 183 | <th>Name</th> |
| 184 | + <th>Description</th> |
184 | 185 | @if (admin) |
185 | 186 | { |
186 | 187 | <th>Actions</th> |
|
191 | 192 | @foreach (var item in @servicesData.ResourceComponents!) |
192 | 193 | { |
193 | 194 | <tr class="@GeneralHelper.SetTextEnabledClass(item.Enabled)"> |
194 | | - <td class="w-50"> |
| 195 | + <td class="w-30"> |
195 | 196 | @item.DisplayName |
196 | 197 | @if (item.IsCustom) |
197 | 198 | { |
|
200 | 201 | </span> |
201 | 202 | } |
202 | 203 | </td> |
| 204 | + <td class="w-30"> |
| 205 | + @item.Description |
| 206 | + </td> |
203 | 207 | @if (admin) |
204 | 208 | { |
205 | 209 | <td> |
|
467 | 471 | @if (!customComponent.IsFreeText) |
468 | 472 | { |
469 | 473 | <div class="collapse card card-body @theme.ThemeStyle" id=@("custom" + customComponent.Id.ToString())> |
| 474 | + @if (!String.IsNullOrEmpty(customComponent.Description)) |
| 475 | + { |
| 476 | + <p>@customComponent.Description</p> |
| 477 | + } |
470 | 478 | <div class="card mb-3"> |
471 | 479 | <div class="card card-header bg-default text-dark" style="font-weight:bold;"> |
472 | 480 | Current Components |
|
630 | 638 | </a> |
631 | 639 | </h5> |
632 | 640 | <div class="collapse card card-body @theme.ThemeStyle" id="environments"> |
| 641 | + @if (!String.IsNullOrEmpty(resourceComponent.Description)) |
| 642 | + { |
| 643 | + <p>@resourceComponent.Description</p> |
| 644 | + } |
633 | 645 | <div class="card mb-3"> |
634 | 646 | <div class="card card-header bg-default text-dark" style="font-weight:bold;"> |
635 | 647 | Current Environments |
|
789 | 801 | </a> |
790 | 802 | </h5> |
791 | 803 | <div class="collapse card card-body @theme.ThemeStyle" id="functions"> |
| 804 | + @if (!String.IsNullOrEmpty(resourceComponent.Description)) |
| 805 | + { |
| 806 | + <p>@resourceComponent.Description</p> |
| 807 | + } |
792 | 808 | <div class="card mb-3"> |
793 | 809 | <div class="card card-header bg-default text-dark" style="font-weight:bold;"> |
794 | 810 | Current Functions |
|
949 | 965 | </a> |
950 | 966 | </h5> |
951 | 967 | <div class="collapse card card-body @theme.ThemeStyle" id="locations"> |
| 968 | + @if (!String.IsNullOrEmpty(resourceComponent.Description)) |
| 969 | + { |
| 970 | + <p>@resourceComponent.Description</p> |
| 971 | + } |
952 | 972 | <div class="card mb-3"> |
953 | 973 | <div class="card card-header bg-default text-dark" style="font-weight:bold;"> |
954 | 974 | Current Locations |
|
1163 | 1183 | </a> |
1164 | 1184 | </h5> |
1165 | 1185 | <div class="collapse card card-body @theme.ThemeStyle" id="orgs"> |
| 1186 | + @if (!String.IsNullOrEmpty(resourceComponent.Description)) |
| 1187 | + { |
| 1188 | + <p>@resourceComponent.Description</p> |
| 1189 | + } |
1166 | 1190 | <div class="card mb-3"> |
1167 | 1191 | <div class="card card-header bg-default text-dark" style="font-weight:bold;"> |
1168 | 1192 | Current Orgs |
|
1323 | 1347 | </a> |
1324 | 1348 | </h5> |
1325 | 1349 | <div class="collapse card card-body @theme.ThemeStyle" id="projsappssvcs"> |
| 1350 | + @if (!String.IsNullOrEmpty(resourceComponent.Description)) |
| 1351 | + { |
| 1352 | + <p>@resourceComponent.Description</p> |
| 1353 | + } |
1326 | 1354 | <div class="card mb-3"> |
1327 | 1355 | <div class="card card-header bg-default text-dark" style="font-weight:bold;"> |
1328 | 1356 | Current Projects/Apps/Services |
|
1482 | 1510 | </a> |
1483 | 1511 | </h5> |
1484 | 1512 | <div class="collapse card card-body @theme.ThemeStyle" id="types"> |
| 1513 | + @if (!String.IsNullOrEmpty(resourceComponent.Description)) |
| 1514 | + { |
| 1515 | + <p>@resourceComponent.Description</p> |
| 1516 | + } |
1485 | 1517 | <div class="card mb-3"> |
1486 | 1518 | <div class="card card-header bg-default text-dark" style="font-weight:bold;"> |
1487 | 1519 | Current Resource Types |
|
1640 | 1672 | </a> |
1641 | 1673 | </div> |
1642 | 1674 | <div class="collapse card card-body @theme.ThemeStyle" id="typesconfig"> |
| 1675 | + @if (!String.IsNullOrEmpty(resourceComponent.Description)) |
| 1676 | + { |
| 1677 | + <p>@resourceComponent.Description</p> |
| 1678 | + } |
1643 | 1679 | <div class="card w-auto mb-3"> |
1644 | 1680 | <div class="card card-header bg-default text-dark" style="font-weight:bold;"> |
1645 | 1681 | Bulk Update |
|
1769 | 1805 | </a> |
1770 | 1806 | </h5> |
1771 | 1807 | <div class="collapse card card-body @theme.ThemeStyle" id="unitsdepts"> |
| 1808 | + @if (!String.IsNullOrEmpty(resourceComponent.Description)) |
| 1809 | + { |
| 1810 | + <p>@resourceComponent.Description</p> |
| 1811 | + } |
1772 | 1812 | <div class="card mb-3"> |
1773 | 1813 | <div class="card card-header bg-default text-dark" style="font-weight:bold;"> |
1774 | 1814 | Current Units/Depts |
|
0 commit comments