aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/main/jams/banned.html6
-rw-r--r--templates/staff/jams/infractions/view.html10
2 files changed, 9 insertions, 7 deletions
diff --git a/templates/main/jams/banned.html b/templates/main/jams/banned.html
index adc82fef..fa47c1ec 100644
--- a/templates/main/jams/banned.html
+++ b/templates/main/jams/banned.html
@@ -18,7 +18,7 @@
permanently banned from participating in our code jams.
<br />
<br />
- The reason given is: <span style="font-family: monospace">{{ infraction.reason }}</span>
+ The reason given is: <strong>{{ infraction.reason }}</strong>
<br />
<br />
If you feel that this is a mistake, please feel free to contact one of the admins on Discord.
@@ -29,12 +29,12 @@
temporarily banned from participating in our code jams.
<br />
<br />
- The reason given is: <span style="font-family: monospace">{{ infraction.reason }}</span>
+ The reason given is: <strong>{{ infraction.reason }}</strong>
<br />
<br />
If you feel that this is a mistake, please feel free to contact one of the admins on Discord.
</p>
- {% endif
+ {% endif %}
<a class="uk-button uk-button-secondary uk-align-center" href="{{ url_for("main.jams.index") }}">
<i class="uk-icon fa-fw far fa-arrow-left"></i> &nbsp;Back to all code jams
diff --git a/templates/staff/jams/infractions/view.html b/templates/staff/jams/infractions/view.html
index 0b515cdb..cace2369 100644
--- a/templates/staff/jams/infractions/view.html
+++ b/templates/staff/jams/infractions/view.html
@@ -51,9 +51,11 @@
<td class="uk-text-truncate" title="{{ infraction.id }}">{{ infraction.id }}</td>
<td class="uk-table-shrink">
{% if infraction.participant is not string %}
- {{ infraction.participant.username }}#{{ infraction.participant.discriminator }} ({{ infraction.participant.id }})
+ <code>{{ infraction.participant.user_id }}</code>
+ <br />
+ ({{ infraction.participant.username }}#{{ infraction.participant.discriminator }})
{% else %}
- {{ infraction.participant }}
+ <code>{{ infraction.participant.user_id }}</code>
{% endif %}
</td>
<td title="{{ infraction.reason }}">{{ infraction.reason }}</td>
@@ -314,10 +316,10 @@
}
const row = `
<td class="uk-table-shrink">
- <button class="uk-button-small uk-button uk-button-danger delete-infraction-button" style="padding-left: 5px; padding-right: 5px;" data-question-id="${infraction.id}"><i class="uk-icon fa-fw far fa-times"></i></button>
+ <button class="uk-button-small uk-button uk-button-danger delete-infraction-button" style="padding-left: 5px; padding-right: 5px;" data-infraction-id="${infraction.id}"><i class="uk-icon fa-fw far fa-trash"></i></button>
</td>
<td class="uk-text-truncate" title="${infraction.id}">${infraction.id}</td>
- <td class="uk-table-shrink">${participant}</td>
+ <td class="uk-table-shrink"><code>${participant}</code></td>
<td title="${infraction.reason}">${infraction.reason}</td>
<td class="uk-table-shrink">${infraction.number}</td>
`;