Skip to content
Closed
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
4 changes: 2 additions & 2 deletions templates/command-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{% set command_title = command_obj_name %}
{% endif %}
{% set command_title = command_title | upper %}
{% if command_data_obj.deprecated_since %}
{% if command_data_obj.deprecated_since and ("MASTER" in command_title or "SLAVE" in command_title) %}
{% set deprecated = "Deprecated" %}
{% endif %}
{% else %}
Expand Down Expand Up @@ -171,7 +171,7 @@ <h1 class="page-title">{{ command_title }} {% if deprecated %}<small> {{ depreca
<code>ERROR. Command description not loaded</code><br />
{% endif %}
{% if command_data_obj.replaced_by %}
<h3>Deprecation advice</h3>
<h3>{% if deprecated %}Deprecation advice{% else %}Similar command{% endif %}</h3>
Instead of using <code>{{ command_title }}</code> use <div class="replaced-by">{{ command_data_obj.replaced_by | markdown | safe }}</div>

{% endif %}
Expand Down