Release notes page added: /portal/release_notes
authorYasin Rahman <loic.baron@lip6.fr>
Tue, 19 May 2015 12:54:48 +0000 (14:54 +0200)
committerYasin Rahman <loic.baron@lip6.fr>
Tue, 19 May 2015 12:54:48 +0000 (14:54 +0200)
portal/releasenotesview.py [new file with mode: 0644]
portal/templates/release-notes-view.html [new file with mode: 0644]
portal/templates/user_request_validated_subject.txt [deleted file]
portal/urls.py

diff --git a/portal/releasenotesview.py b/portal/releasenotesview.py
new file mode 100644 (file)
index 0000000..ae407fd
--- /dev/null
@@ -0,0 +1,23 @@
+# this somehow is not used anymore - should it not be ?
+from django.core.context_processors import csrf
+from django.http import HttpResponseRedirect
+from django.contrib.auth import authenticate, login, logout
+from django.template import RequestContext
+from django.shortcuts import render_to_response
+from django.shortcuts import render
+
+from unfold.loginrequired import FreeAccessView
+
+from manifoldapi.manifoldresult import ManifoldResult
+from ui.topmenu import topmenu_items, the_user
+from myslice.configengine import ConfigEngine
+
+from myslice.theme import ThemeView
+
+class ReleaseNotesView (FreeAccessView, ThemeView):
+    template_name = 'release-notes-view.html'
+
+    def get (self, request, state=None):
+        
+        return render_to_response(self.template, { 'theme' : self.theme }, context_instance=RequestContext(request))
+
diff --git a/portal/templates/release-notes-view.html b/portal/templates/release-notes-view.html
new file mode 100644 (file)
index 0000000..44f37dc
--- /dev/null
@@ -0,0 +1,36 @@
+{% extends "layout.html" %}
+
+{% block content %}
+
+<div class="col-md-8">
+       <br>
+       <h2>Release Notes</h2>
+       <h3>Version</h3>
+       <h4>1.4</h4>
+    <h5>Release date: 12 May 2015</h5>
+           <ul>
+            <li>Create projects within any organization (requires validation)</li>
+            <li>Join any projects under any organizations (requires validation)</li>
+            <li>
+                Manage your projects (All users within a project can manage it)
+                <ul>
+                    <li>Accept/reject users willing to join your project</li>
+                    <li>Create/delete slices within your project</li>
+                </ul>
+            </li>
+            <li>
+                Now create slices within a project, instead of directly under your organization
+                <ul>
+                    <li>
+                        Create as many slices as you wish within a project, without requiring approval from the organization manager
+                    </li>
+                </ul>
+            </li>
+            <li>Faster loading time for resources, slices, and organizations</li>
+            <li>Improved automatic email communication</li>
+            <li>Improved stability, reliability and user-friendliness</li>
+            <li>Several bug fixes</li>
+        </ul>  
+</div>
+{% endblock %}
+
diff --git a/portal/templates/user_request_validated_subject.txt b/portal/templates/user_request_validated_subject.txt
deleted file mode 100644 (file)
index da9ce74..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Account validated
index 905858c..1d6fae8 100644 (file)
@@ -48,6 +48,7 @@ from portal.univbrisview            import UnivbrisView
 from portal.univbrisvtam            import UnivbrisVtam
 
 from portal.manualdelegationview    import ManualDelegationView
+from portal.releasenotesview       import ReleaseNotesView
 
 from portal.servicedirectory        import ServiceDirectoryView
 
@@ -104,6 +105,7 @@ urlpatterns = patterns('',
     url(r'^project_request/?$', ProjectRequestView.as_view(), name='project_request'),
     url(r'^terms/?$', TermsView.as_view(), name='terms'),
     url(r'^manual_delegation/?$', ManualDelegationView.as_view(), name='manual_delegation'),
+    url(r'^release_notes/?$', ReleaseNotesView.as_view(), name='release_notes'),
     # Validate pending requests
     url(r'^validate/?$', ValidatePendingView.as_view()),
     # http://stackoverflow.com/questions/2360179/django-urls-how-to-pass-a-list-of-items-via-clean-urls