Skip to content

Commit

Permalink
Fix template params fro absolute_url and is_proposal_reviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ananya Maiti authored and Ananya Maiti committed May 7, 2023
1 parent 7f4d007 commit 4df0d5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion junction/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<meta property="og:modified_time" content="{% block og_modifiedtime %}{% endblock %}">
<meta property="og:author" content="{% block og_author %}{% endblock %}">
<meta property="og:section" content="{% block og_section %}{% endblock %}"> {# A high-level section name. E.g. Technology #}
<meta property="og:url" content="{% block og_url %}{{ get_absolute_url }}{% endblock %}">{# permalink to the curent page #}
<meta property="og:url" content="{% block og_url %}{{ request.build_absolute_uri }}{% endblock %}">{# permalink to the curent page #}
<meta property="og:image" content="{% block og_image %}{% endblock %}">{# A path to an image used on the page. Helpful for telling crawlers what image to use for a page preview. Can be an array, meaning, there can be more than one of these tags (duplicate the WHOLE tag). #}
<meta property="og:video" content="{% block og_video %}{% endblock %}">
<link href="{% static 'css/app.css' %}" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion junction/templates/proposals/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<b class="text-muted">
{{ conference.duration_display }}
</b>
{% if is_proposal_reviewer %}
{% if is_reviewer %}
<a class='btn btn-primary pull-right' href="{% url 'proposal-dashboard' conference.slug %}">
Reviewer Dashboard
</a>
Expand Down

0 comments on commit 4df0d5f

Please sign in to comment.