diff options
-rw-r--r-- | fossee_manim/templates/fossee_manim/base.html | 2 | ||||
-rw-r--r-- | fossee_manim/templates/fossee_manim/video.html | 2 | ||||
-rw-r--r-- | fossee_manim/views.py | 7 |
3 files changed, 5 insertions, 6 deletions
diff --git a/fossee_manim/templates/fossee_manim/base.html b/fossee_manim/templates/fossee_manim/base.html index 495831d..e323de4 100644 --- a/fossee_manim/templates/fossee_manim/base.html +++ b/fossee_manim/templates/fossee_manim/base.html @@ -60,7 +60,7 @@ </a> {% if request.user.profile.position == 'contributor' %} <div class="dropdown-menu" aria-labelledby="navbarDropdown"> - <a class="dropdown-item" href="{% url 'how_to' %}">How To</a> + <a class="dropdown-item" href="{% url 'guidelines' %}">Guidelines</a> <a class="dropdown-item" href="{% url 'send_proposal' %}">Send Proposal</a> <a class="dropdown-item" href="{% url 'proposal_status' %}">Proposal Status</a> <a class="dropdown-item" href="{% url 'view_profile' %}">View Profile</a> diff --git a/fossee_manim/templates/fossee_manim/video.html b/fossee_manim/templates/fossee_manim/video.html index 644d785..31867da 100644 --- a/fossee_manim/templates/fossee_manim/video.html +++ b/fossee_manim/templates/fossee_manim/video.html @@ -28,7 +28,7 @@ <div class="col-md-10"> <hr> <br> - <p style="color:#26A669; font-size: 100%; float: left;"> + <p style="color:black; font-size: 100%; float: left;"> {{ video.0.animation.outline }} </p> <br> diff --git a/fossee_manim/views.py b/fossee_manim/views.py index f2e9a84..c1973e6 100644 --- a/fossee_manim/views.py +++ b/fossee_manim/views.py @@ -532,10 +532,9 @@ def search_category(request, cat=None): def guidelines(request): user = request.user categories = Category.objects.all() - if is_email_checked(user) and user.is_authenticated(): - return render(request, 'fossee_manim/guidelines.html', {'categories': categories}) - else: - return redirect('/register/') + + return render(request, 'fossee_manim/guidelines.html', {'categories': categories}) + def honorarium(request): pass
\ No newline at end of file |