Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion qiita_pet/handlers/analysis_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ def _share(self, analysis, user, callback):
user = User(user)
add_message('Analysis <a href="%s/analysis/results/%d">\'%s\'</a> '
'has been shared with you.' %
(qiita_config.portal, analysis.id, analysis.name), [user])
(qiita_config.portal_dir, analysis.id, analysis.name),
[user])
callback(analysis.share(user))

@execute_as_transaction
Expand Down
2 changes: 1 addition & 1 deletion qiita_pet/handlers/study_handlers/listing_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def _share(self, study, user, callback):
user = User(user)
add_message('Study <a href="%s/study/description/%d">\'%s\'</a> '
'has been shared with you.' %
(qiita_config.portal, study.id, study.title), [user])
(qiita_config.portal_dir, study.id, study.title), [user])
callback(study.share(user))

@execute_as_transaction
Expand Down
2 changes: 2 additions & 0 deletions qiita_pet/templates/analysis_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
{%end%}

{%block content%}
{# LEAVE THIS IMPORT HERE OTHERWISE IT BREAKS #}
{% from future.utils import viewitems %}
<div class="row">
<table border="0">
<tr>
Expand Down