Skip to content

Commit

Permalink
Remove leftover forum bits
Browse files Browse the repository at this point in the history
  • Loading branch information
frankwiles committed Jul 18, 2023
1 parent 9b50cd5 commit 0e2c988
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 115 deletions.
2 changes: 1 addition & 1 deletion ak/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class HomepageView(TemplateView):
"""
Our default homepage for Forum. We expect you to not use this view
Our default homepage for temp-site. We expect you to not use this view
after you start working on your project.
"""

Expand Down
2 changes: 1 addition & 1 deletion config/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
WSGI config for Forum.
WSGI config for temp-site.
"""

import os
Expand Down
1 change: 0 additions & 1 deletion templates/_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
{% endblock js %}

{% block body %}
{# The forum content will go in this 'body' block #}
{% endblock body %}

{% block extra_js %}
Expand Down
3 changes: 0 additions & 3 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@
{% block messages %}{% include "partials/messages.html" %}{% endblock messages %}
</div>

{% comment %}body block is for use in forums{% endcomment %}
{% block forum_body %}{% endblock %}

<div class="md:px-3 min-vh-110">
{% block content_wrapper %}
{% block subnav %}{% endblock %}
Expand Down
68 changes: 0 additions & 68 deletions templates/board_base.html

This file was deleted.

2 changes: 1 addition & 1 deletion templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ <h3 class="mb-2 text-xl">Name of Article</h3>
<div class="py-5 px-4 my-4 bg-white rounded md:px-11 md:my-0 md:w-1/2 dark:bg-charcoal">
<div class="flex justify-between items-center mb-6">
<span class="inline py-1 px-3 w-auto text-sm uppercase rounded md:text-base text-green bg-green/10">Join the conversation</span>
<span class="inline w-auto text-xs uppercase md:text-base text-orange"><a href="/forum/">Visit&nbsp;Forum ></a></span>
<span class="inline w-auto text-xs uppercase md:text-base text-orange"></span>
</div>
<div class="space-y-8 divide-y divide-gray-200 dark:divide-slate">
<div class="pt-6">
Expand Down
3 changes: 1 addition & 2 deletions templates/partials/avatar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% load forum_member_tags %}
{% if profile.avatar %}
<img class="avatar" src="{{ profile.avatar.url }}" alt="{{ profile.user|forum_member_display_name }}" />
<img class="avatar" src="{{ profile.avatar.url }}" alt="{{ profile.user }}" />
{% elif show_placeholder %}
<span class="avatar empty">
<i class="far fa-user fa-4x" ></i>
Expand Down
37 changes: 0 additions & 37 deletions templates/partials/breadcrumb.html

This file was deleted.

2 changes: 1 addition & 1 deletion users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_object(self):
class ProfileView(DetailView):
"""
ViewSet to show statistics about a user to include
stats, badges, forum posts, reviews, etc.
stats, badges, reviews, etc.
"""

model = User
Expand Down

0 comments on commit 0e2c988

Please sign in to comment.