|
22 | 22 | {% for account in accounts_list %} |
23 | 23 | <tr> |
24 | 24 | <td class="w-1 text-center"> |
25 | | - <i class="icon">{{ icon('fas fa-user') }}</i> |
| 25 | + <i class="icon">{{ icon('user', 'fontawesome|solid') }}</i> |
26 | 26 | </td> |
27 | 27 | <td class="pl-0"> |
28 | | - <a href="{{ path_for('admin.accounts.edit') }}?email={{ account.email }}">{{ account.email }}</a> |
| 28 | + <a href="{{ urlFor('admin.accounts.edit') }}?email={{ account.email }}">{{ account.email }}</a> |
29 | 29 | </td> |
30 | 30 | <td> |
31 | 31 | {{ account.roles }} |
|
35 | 35 | </td> |
36 | 36 | <td class="text-right"> |
37 | 37 | <button type="button" class="js-dropdown-btn" data-dropdown="dropdown-{{ account.email }}"> |
38 | | - <i class="icon">{{ icon('fas fa-ellipsis-h') }}</i> |
| 38 | + <i class="icon">{{ icon('ellipsis-h', 'fontawesome|solid') }}</i> |
39 | 39 | </button> |
40 | 40 | <div id="dropdown-{{ account.email }}" class="dropdown"> |
41 | | - <a class="dropdown__item" href="{{ path_for('admin.accounts.edit') }}?email={{ account.email }}"> |
42 | | - <i class="icon icon--white mr-3">{{ icon('fas fa-edit') }}</i> |
| 41 | + <a class="dropdown__item" href="{{ urlFor('admin.accounts.edit') }}?email={{ account.email }}"> |
| 42 | + <i class="icon icon--white mr-3">{{ icon('edit', 'fontawesome|solid') }}</i> |
43 | 43 | {{ tr('accounts_admin_edit') }}</a> |
44 | 44 | {% if flextype.acl.getUserLoggedInEmail() != account.email %} |
45 | 45 | <div class="dropdown__divider"></div> |
46 | 46 | <a class="dropdown__item" href="javascript:;" onclick="event.preventDefault(); deleteAccount('{{ account.email }}', {{ loop.index0 }});"> |
47 | | - <i class="icon icon--white mr-3">{{ icon('fas fa-trash-alt') }}</i> |
| 47 | + <i class="icon icon--white mr-3">{{ icon('trash-alt', 'fontawesome|solid') }}</i> |
48 | 48 | {{ tr('accounts_admin_delete') }}</a> |
49 | | - <form id="delete-account-email-{{ account.email }}" action="{{ path_for('admin.accounts.deleteProcess') }}" method="POST" style="display: none;"> |
| 49 | + <form id="delete-account-email-{{ account.email }}" action="{{ urlFor('admin.accounts.deleteProcess') }}" method="POST" style="display: none;"> |
50 | 50 | {{ csrf() }} |
51 | 51 | <input type="hidden" name="account-email" value="{{ account.email }}"> |
52 | 52 | </form> |
|
60 | 60 | {% else %} |
61 | 61 | <div class="text-center flex justify-center items-center h-full"> |
62 | 62 | <div> |
63 | | - <i class="icon icon--4xl">{{ icon('fas fa-users') }}</i> |
| 63 | + <i class="icon icon--4xl">{{ icon('users', 'fontawesome|solid') }}</i> |
64 | 64 | <h3 class="text-2xl pt-4 pb-8">{{ tr('accounts_admin_you_have_no_acccounts') }}</h3> |
65 | 65 | </div> |
66 | 66 | </div> |
|
0 commit comments