summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshen2019-05-28 15:00:53 +0530
committerAkshen2019-05-28 15:00:53 +0530
commit4173d1adcd3debde697d8ac8727cd8197f91f7c4 (patch)
treed2beeed290d44f943a81d603a701c93218cda475
parent0dac6f6f2abe0a2c7085a671ad616d778ccca848 (diff)
downloadFOSSEE_animations-4173d1adcd3debde697d8ac8727cd8197f91f7c4.tar.gz
FOSSEE_animations-4173d1adcd3debde697d8ac8727cd8197f91f7c4.tar.bz2
FOSSEE_animations-4173d1adcd3debde697d8ac8727cd8197f91f7c4.zip
How_to issue fixed
-rw-r--r--fossee_manim/templates/fossee_manim/base.html2
-rw-r--r--fossee_manim/templates/fossee_manim/video.html2
-rw-r--r--fossee_manim/views.py7
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