Commit a633de3b authored by Administrator's avatar Administrator

[FIX] Graph link can not be clicked any more.

parent 7e817465
......@@ -273,7 +273,6 @@ def corpus(request, project_id, corpus_id):
project = cache.Node[int(project_id)]
corpus = cache.Node[int(corpus_id)]
type_doc_id = cache.NodeType['Document'].id
number = session.query(func.count(Node.id)).filter(Node.parent_id==corpus_id, Node.type_id==type_doc_id).all()[0][0]
......
......@@ -161,7 +161,7 @@ th a {
<div class="col-md-4">
<div class="jumbotron">
{% if processing == "1" %}
{% if processing > 0 %}
<h3> <img width="20px" src="{% static "js/libs/img2/loading-bar.gif" %}"></img> Graph (later)</h3>
{% else %}
<h3><a href="/project/{{project.id}}/corpus/{{ corpus.id }}/explorer">Graph</a></h3>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment