Skip to content

Commit

Permalink
refactor: Expose show_ad_and_shepherd flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards committed Jan 12, 2024
1 parent 50e5bff commit 1bce192
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ietf/templates/doc/search/search_result_row.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
</a>
{% endif %}
</td>
{% if meta.show_ad_and_shepherd %}
{% if show_ad_and_shepherd %}
<td class="d-none d-sm-table-cell bg-transparent">
{% if doc.ad %}
{% person_link doc.ad title="Area Director" %}
Expand Down
2 changes: 1 addition & 1 deletion ietf/templates/doc/search/search_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</tbody>
<tbody>
{% for doc in doc_group.list %}
{% include "doc/search/search_result_row.html" %}
{% include "doc/search/search_result_row.html" with show_ad_and_shepherd=meta.show_ad_and_shepherd %}
{% endfor %}
</tbody>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion ietf/templates/iesg/agenda_documents.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h2>
</thead>
<tbody>
{% for doc in section.docs %}
{% include "doc/search/search_result_row.html" with color_ad_position=True %}
{% include "doc/search/search_result_row.html" with color_ad_position=True show_ad_and_shepherd=True %}
{% endfor %}
</tbody>
</table>
Expand Down

0 comments on commit 1bce192

Please sign in to comment.