Skip to content

Commit

Permalink
Remove unnecessary line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Jul 15, 2024
1 parent a1e2cee commit f90b07e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 22 deletions.
8 changes: 2 additions & 6 deletions netbox/templates/extras/customlink.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,13 @@ <h2 class="card-header">{% trans "Assigned Models" %}</h2>
</div>
<div class="col col-md-7">
<div class="card">
<h2 class="card-header">
{% trans "Link Text" %}
</h2>
<h2 class="card-header">{% trans "Link Text" %}</h2>
<div class="card-body">
<pre>{{ object.link_text }}</pre>
</div>
</div>
<div class="card">
<h2 class="card-header">
{% trans "Link URL" %}
</h2>
<h2 class="card-header">{% trans "Link URL" %}</h2>
<div class="card-body">
<pre>{{ object.link_url }}</pre>
</div>
Expand Down
4 changes: 1 addition & 3 deletions netbox/templates/extras/eventrule.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ <h2 class="card-header">{% trans "Events" %}</h2>
</div>
<div class="col col-md-6">
<div class="card">
<h2 class="card-header">
{% trans "Conditions" %}
</h2>
<h2 class="card-header">{% trans "Conditions" %}</h2>
<div class="card-body">
{% if object.conditions %}
<pre>{{ object.conditions|json }}</pre>
Expand Down
2 changes: 1 addition & 1 deletion netbox/templates/extras/object_journal.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>
{% if perms.extras.add_journalentry %}
<div class="card">
<h2 class="h4 card-header">{% trans "New Journal Entry" %}</h2>
<h2 class="card-header">{% trans "New Journal Entry" %}</h2>
<div class="card-body">
<form action="{% url 'extras:journalentry_add' %}" method="post" enctype="multipart/form-data">
<div class="container">
Expand Down
4 changes: 1 addition & 3 deletions netbox/templates/extras/savedfilter.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ <h2 class="card-header">{% trans "Assigned Models" %}</h2>
</div>
<div class="col col-md-7">
<div class="card">
<h2 class="card-header">
{% trans "Parameters" %}
</h2>
<h2 class="card-header">{% trans "Parameters" %}</h2>
<div class="card-body">
<pre>{{ object.parameters|json }}</pre>
</div>
Expand Down
8 changes: 2 additions & 6 deletions netbox/templates/extras/webhook.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ <h2 class="card-header">{% trans "SSL" %}</h2>
</div>
<div class="col col-md-6">
<div class="card">
<h2 class="card-header">
{% trans "Additional Headers" %}
</h2>
<h2 class="card-header">{% trans "Additional Headers" %}</h2>
<div class="card-body">
{% if object.additional_headers %}
<pre>{{ object.additional_headers }}</pre>
Expand All @@ -69,9 +67,7 @@ <h2 class="card-header">
</div>
</div>
<div class="card">
<h2 class="card-header">
{% trans "Body Template" %}
</h2>
<h2 class="card-header">{% trans "Body Template" %}</h2>
<div class="card-body">
{% if object.body_template %}
<pre>{{ object.body_template }}</pre>
Expand Down
4 changes: 1 addition & 3 deletions netbox/templates/inc/panels/comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
{% load i18n %}

<div class="card">
<h2 class="card-header">
{% trans "Comments" %}
</h2>
<h2 class="card-header">{% trans "Comments" %}</h2>
<div class="card-body">
{% if object.comments %}
{{ object.comments|markdown }}
Expand Down

0 comments on commit f90b07e

Please sign in to comment.