fix command and activity log confusion

This commit is contained in:
aronwk-aaron 2022-11-28 13:05:52 -06:00
parent cc4adfcbfe
commit e69d25594a
3 changed files with 8 additions and 8 deletions

View File

@ -71,8 +71,8 @@
{% if current_user.is_authenticated and current_user.gm_level >= 8 %}
<hr/>
<h3 class="text-center">Logs</h3>
<a class="dropdown-item text-center" href='{{ url_for('log.activity') }}'>Command Log</a>
<a class="dropdown-item text-center" href='{{ url_for('log.command') }}'>Activity Log</a>
<a class="dropdown-item text-center" href='{{ url_for('log.command') }}'>Command Log</a>
<a class="dropdown-item text-center" href='{{ url_for('log.activity') }}'>Activity Log</a>
<a class="dropdown-item text-center" href='{{ url_for('log.audit') }}'>Audit Log</a>
<a class="dropdown-item text-center" href='{{ url_for('log.system') }}'>System Log</a>
{% endif %}

View File

@ -22,7 +22,9 @@
<tr>
<th>ID</th>
<th>Account:Character</th>
<th>Command</th>
<th>Activity</th>
<th>Time</th>
<th>Map</th>
</tr>
</thead>
<tbody></tbody>
@ -38,7 +40,7 @@
"order": [[0, "desc"]],
"processing": true,
"serverSide": true,
"ajax": "{{ url_for('log.get_commands') }}",
"ajax": "{{ url_for('log.get_activities') }}",
});
});
</script>

View File

@ -22,9 +22,7 @@
<tr>
<th>ID</th>
<th>Account:Character</th>
<th>Activity</th>
<th>Time</th>
<th>Map</th>
<th>Command</th>
</tr>
</thead>
<tbody></tbody>
@ -40,7 +38,7 @@
"order": [[0, "desc"]],
"processing": true,
"serverSide": true,
"ajax": "{{ url_for('log.get_activities') }}",
"ajax": "{{ url_for('log.get_commands') }}",
});
});
</script>