mirror of
https://github.com/Mistake35/Cedar-Django.git
synced 2026-07-18 00:21:14 +10:00
stuff
- Fixed community edit audit logs being created even if the user owns the community. - Simple ban page that shows you the reason, expiration date, and time left. - Removing unused models - other small changes
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>You are banned</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>You are banned from {{ brand_name }}.</h1>
|
||||
{% if ban.reason %}<p>Reason: {{ ban.reason }}</p>{% endif %}
|
||||
<p>Your ban will expire on {{ ban.expiry_date }}</p>
|
||||
<p>{{ ban.expiry_date|timeuntil }} remaining.</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,8 +1,5 @@
|
||||
{% extends "closedverse_main/layout.html" %}
|
||||
{% block main-body %}{% load closedverse_user %}{% load closedverse_tags %}{% load closedverse_community %}
|
||||
{% if not request.user == community.creator %}<div class='notice'>
|
||||
<p>Mods and staff members can edit communities.</p>
|
||||
</div>{% endif %}
|
||||
{% community_sidebar community request %}
|
||||
<div class="main-column"><div class="post-list-outline">
|
||||
<h2 class="label">Change settings for {% if community.creator %}{{ community.creator }}'s{% else %}this{% endif %} community</h2>
|
||||
|
||||
Reference in New Issue
Block a user