aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2020-12-05 20:01:01 +0300
committerGitHub2020-12-05 20:01:01 +0300
commitb39395e648d8f1f26e3455c3be8dd1a2ec0d3592 (patch)
tree3ab62fe8221659be94878bc010bf35daaf991b1a
parentd76bb8ed8fb7a015e7563f64b6b3d6760cf874d8 (diff)
parent0b20fe6881818fd7cbdd24bbb3df18563816216c (diff)
downloadgenenetwork2-b39395e648d8f1f26e3455c3be8dd1a2ec0d3592.tar.gz
Merge pull request #501 from Alexanderlacuna/bugfix/markdown-links-fix
Bugfix/edit button to actual markdown
-rw-r--r--wqflask/wqflask/markdown_routes.py2
-rw-r--r--wqflask/wqflask/templates/facilities.html2
-rw-r--r--wqflask/wqflask/templates/glossary.html2
-rw-r--r--wqflask/wqflask/templates/links.html2
-rw-r--r--wqflask/wqflask/templates/policies.html2
-rw-r--r--wqflask/wqflask/templates/references.html2
6 files changed, 6 insertions, 6 deletions
diff --git a/wqflask/wqflask/markdown_routes.py b/wqflask/wqflask/markdown_routes.py
index 183f4caa..3b60bc96 100644
--- a/wqflask/wqflask/markdown_routes.py
+++ b/wqflask/wqflask/markdown_routes.py
@@ -109,7 +109,7 @@ def links():
@policies_blueprint.route("/")
def policies():
return render_template(
- "links.html",
+ "policies.html",
rendered_markdown=render_markdown("general/policies/policies.md")), 200
diff --git a/wqflask/wqflask/templates/facilities.html b/wqflask/wqflask/templates/facilities.html
index a022b657..56b127f9 100644
--- a/wqflask/wqflask/templates/facilities.html
+++ b/wqflask/wqflask/templates/facilities.html
@@ -10,7 +10,7 @@
<div class="github-btn-container">
<div class="github-btn">
- <a href="https://github.com/genenetwork/gn-docs">
+ <a href="https://github.com/genenetwork/gn-docs/blob/master/general/help/facilities.md">
Edit Text
<img src="/static/images/edit.png">
</a>
diff --git a/wqflask/wqflask/templates/glossary.html b/wqflask/wqflask/templates/glossary.html
index 752c4b12..aaee7c5a 100644
--- a/wqflask/wqflask/templates/glossary.html
+++ b/wqflask/wqflask/templates/glossary.html
@@ -10,7 +10,7 @@
<div class="github-btn-container">
<div class="github-btn">
- <a href="https://github.com/genenetwork/gn-docs">
+ <a href="https://github.com/genenetwork/gn-docs/blob/master/general/glossary/glossary.md">
Edit Text
<img src="/static/images/edit.png">
</a>
diff --git a/wqflask/wqflask/templates/links.html b/wqflask/wqflask/templates/links.html
index 072e8429..6e91adae 100644
--- a/wqflask/wqflask/templates/links.html
+++ b/wqflask/wqflask/templates/links.html
@@ -10,7 +10,7 @@
<div class="github-btn-container">
<div class="github-btn ">
- <a href="https://github.com/genenetwork/gn-docs">
+ <a href="https://github.com/genenetwork/gn-docs/blob/master/general/links/links.md">
Edit Text
<img src="/static/images/edit.png">
</a>
diff --git a/wqflask/wqflask/templates/policies.html b/wqflask/wqflask/templates/policies.html
index 4e0985d3..e36c9e08 100644
--- a/wqflask/wqflask/templates/policies.html
+++ b/wqflask/wqflask/templates/policies.html
@@ -10,7 +10,7 @@
<div class="github-btn-container">
<div class="github-btn ">
- <a href="https://github.com/genenetwork/gn-docs">
+ <a href="https://github.com/genenetwork/gn-docs/blob/master/general/policies/policies.md">
Edit Text
<img src="/static/images/edit.png">
</a>
diff --git a/wqflask/wqflask/templates/references.html b/wqflask/wqflask/templates/references.html
index f723a1e8..04e60361 100644
--- a/wqflask/wqflask/templates/references.html
+++ b/wqflask/wqflask/templates/references.html
@@ -6,7 +6,7 @@
{% block content %}
<div class="github-btn-container">
<div class="github-btn">
- <a href="https://github.com/genenetwork/gn-docs">
+ <a href="https://github.com/genenetwork/gn-docs/blob/master/general/references/references.md">
Edit Text
<img src="/static/images/edit.png">
</a>