From 36575cda6c5f52ad7f03461dc88ae7aa227b9e2e Mon Sep 17 00:00:00 2001
From: Jayaram Pai
Date: Tue, 25 Feb 2014 12:14:26 +0530
Subject: added completed/progress book links to how.html
---
tbc/static/templates/how.html | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tbc/static/templates/how.html b/tbc/static/templates/how.html
index 9e948f2..03ad369 100644
--- a/tbc/static/templates/how.html
+++ b/tbc/static/templates/how.html
@@ -2,7 +2,13 @@
- Contributor selects 3 textbooks and sends proposal through mail to textbook[at]fossee[dot]in in the preferred order.
- - Contributor is requested to visit the website and ensure that the books proposed have not been completed or undertaken by some other contributor. This is to avoid multiple contributors working on the same books.
+ - Contributor is requested to visit the website and ensure that the
+ books proposed have not been completed or undertaken by some other contributor.
+ This is to avoid multiple contributors working on the same books.
+ Links:
+ Completed books
+ Books under progress
+
- Please make sure that the book proposed has at least 60 examples.
- The Edition and the ISBN number of all the textbooks should also be mentioned.
--
cgit
From 7c7c454a4e1f0fc83d5cc0e7fafc729092bc3936 Mon Sep 17 00:00:00 2001
From: Jayaram Pai
Date: Tue, 25 Feb 2014 12:18:57 +0530
Subject: added , separating completed/ progress : how.html
---
tbc/static/templates/how.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tbc/static/templates/how.html b/tbc/static/templates/how.html
index 03ad369..d2dc40a 100644
--- a/tbc/static/templates/how.html
+++ b/tbc/static/templates/how.html
@@ -6,7 +6,7 @@
books proposed have not been completed or undertaken by some other contributor.
This is to avoid multiple contributors working on the same books.
Links:
- Completed books
+ Completed books,
Books under progress
- Please make sure that the book proposed has at least 60 examples.
--
cgit
From a459b3e82b86466e604d728f67fb15c2b56f897e Mon Sep 17 00:00:00 2001
From: Jayaram Pai
Date: Tue, 25 Feb 2014 13:32:46 +0530
Subject: changed text: how.html
---
tbc/static/templates/how.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tbc/static/templates/how.html b/tbc/static/templates/how.html
index d2dc40a..c5794b0 100644
--- a/tbc/static/templates/how.html
+++ b/tbc/static/templates/how.html
@@ -2,7 +2,7 @@
- Contributor selects 3 textbooks and sends proposal through mail to textbook[at]fossee[dot]in in the preferred order.
- - Contributor is requested to visit the website and ensure that the
+
- Contributor is requested to visit the following mentioned links and ensure that the
books proposed have not been completed or undertaken by some other contributor.
This is to avoid multiple contributors working on the same books.
Links:
--
cgit
From 5c6a8fc3481d6c353dd5addf5941c97d78787d51 Mon Sep 17 00:00:00 2001
From: prathamesh
Date: Thu, 6 Mar 2014 16:56:33 +0530
Subject: excluded reviewer from the form
---
tbc/forms.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tbc/forms.py b/tbc/forms.py
index cf99afc..3fb9932 100644
--- a/tbc/forms.py
+++ b/tbc/forms.py
@@ -52,7 +52,7 @@ class BookForm(forms.ModelForm):
self.fields['no_chapters'].label = "Number of Chapter"
class Meta:
model = Book
- exclude = ('contributor', 'approved')
+ exclude = ('contributor', 'approved', 'reviewer')
widgets = {
'title':forms.TextInput(attrs={'placeholder':'Title of the Book'}),
'author':forms.TextInput(attrs={'placeholder':'Author of the Book'}),
--
cgit
From 351765822bc7a84c96c4a26d9936f319948a2f2e Mon Sep 17 00:00:00 2001
From: prathamesh
Date: Thu, 6 Mar 2014 16:57:17 +0530
Subject: default reviewer set for all submission.
default reviewer is the one with id=1.
---
tbc/views.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tbc/views.py b/tbc/views.py
index ba13a21..d2ff195 100644
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -186,6 +186,7 @@ def SubmitBook(request):
data = form.save(commit=False)
profile = Profile.objects.get(user=request.user.id)
data.contributor = profile
+ data.reviewer = Reviewer.objects.get(pk=1)
data.save()
context['user'] = curr_user
curr_book = Book.objects.order_by("-id")[0]
--
cgit