diff --git a/app/templates/corpora/corpus_public.html.j2 b/app/templates/corpora/corpus_public.html.j2 index 86356b87..f35c66e6 100644 --- a/app/templates/corpora/corpus_public.html.j2 +++ b/app/templates/corpora/corpus_public.html.j2 @@ -10,7 +10,6 @@

{{ title }}

- {% if not corpus.user == current_user %} {% if current_user.is_following_corpus(corpus) %} addUnfollow Corpus @@ -18,6 +17,8 @@ addFollow Corpus {% endif %} + {% if corpus.status.name in ['BUILT', 'STARTING_ANALYSIS_SESSION', 'RUNNING_ANALYSIS_SESSION', 'CANCELING_ANALYSIS_SESSION'] and current_user.is_following_corpus(corpus) %} + Analyse {% endif %}