Skip to content

Commit

Permalink
Excludes RB and/or DO section if it does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Chang committed Aug 3, 2020
1 parent b1c53b0 commit 39345e5
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions src/app/docs/analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ <h1>
<div class="app-frame app-pad-h">
<ul class="nav nav-tabs">
<li ui-sref-active='active'><a ui-sref="dbt.analysis({'#': 'description'})">Description</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.analysis({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.analysis({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active' ng-show = "references.model != undefined"><a ui-sref="dbt.analysis({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active' ng-show = "parents.model != undefined"><a ui-sref="dbt.analysis({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.analysis({'#': 'sql'})">SQL</a></li>
</ul>
</div>
Expand All @@ -56,15 +56,15 @@ <h6>Description</h6>
</div>
</section>

<section class="section">
<section class="section" ng-show = "references.model != undefined">
<div class="section-target" id="referenced_by"></div>
<div class="section-content">
<h6>Referenced By</h6>
<reference-list references="references" />
</div>
</section>

<section class="section">
<section class="section" ng-show = "parents.model != undefined">
<div class="section-target" id="depends_on"></div>
<div class="section-content">
<h6>Depends On</h6>
Expand Down
8 changes: 4 additions & 4 deletions src/app/docs/macro.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ <h1>
<ul class="nav nav-tabs">
<li ui-sref-active='active'><a ui-sref="dbt.macro({'#': 'description'})">Description</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.macro({'#': 'arguments'})">Arguments</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.macro({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.macro({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active' ng-show = "references.model != undefined"><a ui-sref="dbt.macro({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active' ng-show = "parents.model != undefined"><a ui-sref="dbt.macro({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.macro({'#': 'code'})">Code</a></li>
</ul>
</div>
Expand Down Expand Up @@ -59,15 +59,15 @@ <h6>Arguments</h6>
</div>
</section>

<section class="section">
<section class="section" ng-show = "references.model != undefined">
<div class="section-target" id="referenced_by"></div>
<div class="section-content">
<h6>Referenced By</h6>
<reference-list references="references" />
</div>
</section>

<section class="section">
<section class="section" ng-show = "parents.model != undefined">
<div class="section-target" id="depends_on"></div>
<div class="section-content">
<h6>Depends On</h6>
Expand Down
8 changes: 4 additions & 4 deletions src/app/docs/model.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ <h1>
<li ui-sref-active='active'><a ui-sref="dbt.model({'#': 'details'})">Details</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.model({'#': 'description'})">Description</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.model({'#': 'columns'})">Columns</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.model({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.model({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active' ng-show = "references.model != undefined"><a ui-sref="dbt.model({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active' ng-show = "parents.model != undefined"><a ui-sref="dbt.model({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.model({'#': 'code'})">SQL</a></li>
</ul>
</div>
Expand Down Expand Up @@ -70,15 +70,15 @@ <h6>Columns</h6>
</div>
</section>

<section class="section">
<section class="section" ng-show = "references.model != undefined">
<div class="section-target" id="referenced_by"></div>
<div class="section-content">
<h6>Referenced By</h6>
<reference-list references="references" />
</div>
</section>

<section class="section">
<section class="section" ng-show = "parents.model != undefined">
<div class="section-target" id="depends_on"></div>
<div class="section-content">
<h6>Depends On</h6>
Expand Down
8 changes: 4 additions & 4 deletions src/app/docs/seed.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ <h1>
<li ui-sref-active='active'><a ui-sref="dbt.seed({'#': 'details'})">Details</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.seed({'#': 'description'})">Description</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.seed({'#': 'columns'})">Columns</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.seed({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.seed({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active' ng-show = "references.model != undefined"><a ui-sref="dbt.seed({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active' ng-show = "parents.model != undefined"><a ui-sref="dbt.seed({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.seed({'#': 'code'})">SQL</a></li>
</ul>
</div>
Expand Down Expand Up @@ -69,15 +69,15 @@ <h6>Columns</h6>
</div>
</section>

<section class="section">
<section class="section" ng-show = "references.model != undefined">
<div class="section-target" id="referenced_by"></div>
<div class="section-content">
<h6>Referenced By</h6>
<reference-list references="references" />
</div>
</section>

<section class="section">
<section class="section" ng-show = "parents.model != undefined">
<div class="section-target" id="depends_on"></div>
<div class="section-content">
<h6>Depends On</h6>
Expand Down
8 changes: 4 additions & 4 deletions src/app/docs/snapshot.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ <h1>
<li ui-sref-active='active'><a ui-sref="dbt.snapshot({'#': 'details'})">Details</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.snapshot({'#': 'description'})">Description</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.snapshot({'#': 'columns'})">Columns</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.snapshot({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.snapshot({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active' ng-show = "references.model != undefined"><a ui-sref="dbt.snapshot({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active' ng-show = "parents.model != undefined"><a ui-sref="dbt.snapshot({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.snapshot({'#': 'code'})">SQL</a></li>
</ul>
</div>
Expand Down Expand Up @@ -70,15 +70,15 @@ <h6>Columns</h6>
</div>
</section>

<section class="section">
<section class="section" ng-show = "references.model != undefined">
<div class="section-target" id="referenced_by"></div>
<div class="section-content">
<h6>Referenced By</h6>
<reference-list references="references" />
</div>
</section>

<section class="section">
<section class="section" ng-show = "parents.model != undefined">
<div class="section-target" id="depends_on"></div>
<div class="section-content">
<h6>Depends On</h6>
Expand Down
8 changes: 4 additions & 4 deletions src/app/docs/source.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ <h1>
<li ui-sref-active='active'><a ui-sref="dbt.source({'#': 'details'})">Details</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.source({'#': 'description'})">Description</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.source({'#': 'columns'})">Columns</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.source({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.source({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active' ng-show = "references.model != undefined"><a ui-sref="dbt.source({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active' ng-show = "parents.model != undefined"><a ui-sref="dbt.source({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.source({'#': 'code'})">SQL</a></li>
</ul>
</div>
Expand Down Expand Up @@ -63,15 +63,15 @@ <h6>Columns</h6>
</div>
</section>

<section class="section">
<section class="section" ng-show = "references.model != undefined">
<div class="section-target" id="referenced_by"></div>
<div class="section-content">
<h6>Referenced By</h6>
<reference-list references="references" />
</div>
</section>

<section class="section">
<section class="section" ng-show = "parents.model != undefined">
<div class="section-target" id="depends_on"></div>
<div class="section-content">
<h6>Depends On</h6>
Expand Down
8 changes: 4 additions & 4 deletions src/app/docs/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ <h1>
<div class="app-frame app-pad-h">
<ul class="nav nav-tabs">
<li ui-sref-active='active'><a ui-sref="dbt.test({'#': 'description'})">Description</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.test({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.test({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active' ng-show = "references.model != undefined"><a ui-sref="dbt.test({'#': 'referenced_by'})">Referenced By</a></li>
<li ui-sref-active='active' ng-show = "parents.model != undefined"><a ui-sref="dbt.test({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.test({'#': 'code'})">SQL</a></li>
</ul>
</div>
Expand All @@ -49,15 +49,15 @@ <h6>Description</h6>
</div>
</section>

<section class="section">
<section class="section" ng-show = "references.model != undefined">
<div class="section-target" id="referenced_by"></div>
<div class="section-content">
<h6>Referenced By</h6>
<reference-list references="references" />
</div>
</section>

<section class="section">
<section class="section" ng-show = "parents.model != undefined">
<div class="section-target" id="depends_on"></div>
<div class="section-content">
<h6>Depends On</h6>
Expand Down

0 comments on commit 39345e5

Please sign in to comment.