diff --git a/myriad/manage.py b/myriad/manage.py
index 8d46c0f..15dee7b 100644
--- a/myriad/manage.py
+++ b/myriad/manage.py
@@ -231,6 +231,8 @@ def add_to_front(mid,location):
if location == "home":
return redirect(url_for('index'))
+ elif location == "mid":
+ return redirect(url_for('home.page', mid=mid))
else:
return redirect(url_for('home.full_list'))
@@ -248,6 +250,8 @@ def remove_front(mid, location):
if location == "home":
return redirect(url_for('index'))
+ elif location == "mid":
+ return redirect(url_for('home.page', mid=mid))
else:
return redirect(url_for('home.full_list'))
@@ -270,6 +274,8 @@ def add_to_home(mid, location):
if location == "home":
return redirect(url_for('index'))
+ elif location == "mid":
+ return redirect(url_for('home.page', mid=mid))
else:
return redirect(url_for('home.full_list'))
@@ -282,6 +288,8 @@ def remove_home(mid,location):
if location == "home":
return redirect(url_for('index'))
+ elif location == "mid":
+ return redirect(url_for('home.page', mid=mid))
else:
return redirect(url_for('home.full_list'))
diff --git a/myriad/templates/page.html b/myriad/templates/page.html
index 4ade4d6..bae77b5 100644
--- a/myriad/templates/page.html
+++ b/myriad/templates/page.html
@@ -12,7 +12,7 @@
{% else %}
{% if g.user %}
- Edit member ☆ {% if member[8]==0 %}Add to Front{% else %}Remove from Front{% endif %} ☆ {% if member[7]==0 %}Pin to Homepage{% else %}Unpin from Homepage{% endif %}
+ Edit member ☆ {% if member[8]==0 %}Add to Front{% else %}Remove from Front{% endif %} ☆ {% if member[7]==0 %}Pin to Homepage{% else %}Unpin from Homepage{% endif %}
{% endif %}