diff --git a/app/models.py b/app/models.py index 34173d0f..8bbfb665 100644 --- a/app/models.py +++ b/app/models.py @@ -1570,7 +1570,7 @@ class Corpus(HashidMixin, db.Model): @property def analysis_url(self): - return url_for('corpora.analyse_corpus', corpus_id=self.id) + return url_for('corpora.analysis', corpus_id=self.id) @property def jsonpatch_path(self): diff --git a/app/templates/_roadmap.html.j2 b/app/templates/_roadmap.html.j2 index 50cc18cd..eaf428ac 100644 --- a/app/templates/_roadmap.html.j2 +++ b/app/templates/_roadmap.html.j2 @@ -21,7 +21,7 @@
  • navigate_next
  • {% if corpus %} {% if corpus.files.all() %} -
  • Corpus analysis
  • +
  • Corpus analysis
  • {% else %}
  • Corpus analysis
  • {% endif %} diff --git a/app/templates/corpora/public_corpus.html.j2 b/app/templates/corpora/public_corpus.html.j2 index 531b3cea..31889203 100644 --- a/app/templates/corpora/public_corpus.html.j2 +++ b/app/templates/corpora/public_corpus.html.j2 @@ -14,7 +14,7 @@ closeUnfollow Corpus {% endif %} {% if corpus.status.name in ['BUILT', 'STARTING_ANALYSIS_SESSION', 'RUNNING_ANALYSIS_SESSION', 'CANCELING_ANALYSIS_SESSION'] and current_user.is_following_corpus(corpus) %} - Analyze + Analyze {% endif %}