Skip to content

Commit

Permalink
Adding some stub urls for the fellowships site. (#971)
Browse files Browse the repository at this point in the history
* Adding some stub urls for the fellowships site.

* Update some of the urls a bit more
  • Loading branch information
ScottDowne authored and alanmoo committed Jan 22, 2018
1 parent 5b4c731 commit 6b6bae0
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "foundation-base.html" %}

{% block body %}
fellows directory
{% endblock %}
2 changes: 1 addition & 1 deletion network-api/networkapi/fellows/templates/fellows_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

{% block body %}
Hello, fellowships!
{% endblock %}
{% endblock %}
5 changes: 5 additions & 0 deletions network-api/networkapi/fellows/templates/fellows_openweb.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "foundation-base.html" %}

{% block body %}
open web fellows
{% endblock %}
5 changes: 5 additions & 0 deletions network-api/networkapi/fellows/templates/fellows_science.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "foundation-base.html" %}

{% block body %}
science fellows
{% endblock %}
5 changes: 5 additions & 0 deletions network-api/networkapi/fellows/templates/fellows_support.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "foundation-base.html" %}

{% block body %}
fellows support
{% endblock %}
6 changes: 5 additions & 1 deletion network-api/networkapi/fellows/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
from networkapi.fellows import views

urlpatterns = [
url('', views.fellows_home),
url(r'^$', views.fellows_home),
url(r'^directory/$', views.fellows_directory),
url(r'^support/$', views.fellows_support),
url(r'^science/$', views.fellows_science),
url(r'^open-web/$', views.fellows_openweb),
]
16 changes: 16 additions & 0 deletions network-api/networkapi/fellows/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,19 @@
# Create your views here.
def fellows_home(request):
return render(request, 'fellows_home.html')


def fellows_directory(request):
return render(request, 'fellows_directory.html')


def fellows_support(request):
return render(request, 'fellows_support.html')


def fellows_science(request):
return render(request, 'fellows_science.html')


def fellows_openweb(request):
return render(request, 'fellows_openweb.html')

0 comments on commit 6b6bae0

Please sign in to comment.