Skip to content

Commit

Permalink
fix: remove deprecated workflow tabs in organization / repository view
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi committed Jan 9, 2025
1 parent 8b525d0 commit a733ae9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
7 changes: 1 addition & 6 deletions otterdog/webapp/templates/home/organization.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ <h1>{{ project_name }}</h1>
<li class="nav-item">
<a class="nav-link" id="settings-tab" data-toggle="pill" href="#settings" role="tab" aria-controls="settings" aria-selected="false">Settings</a>
</li>
<li class="nav-item">
<a class="nav-link" id="workflow-settings-tab" data-toggle="pill" href="#workflow-settings" role="tab" aria-controls="workflow-settings" aria-selected="false">Workflow Settings</a>
</li>
<li class="nav-item">
<a class="nav-link" id="roles-tab" data-toggle="pill" href="#roles" role="tab" aria-controls="roles" aria-selected="false">Roles</a>
</li>
Expand Down Expand Up @@ -381,9 +378,7 @@ <h3 class="card-title">Status</h3>
</div>
</div>
<div class="tab-pane" id="settings" role="tabpanel" aria-labelledby="settings-tab">
<pre><code class="language-json">{{ config.settings|pretty_format_model }}</code></pre></div>
<div class="tab-pane" id="workflow-settings" role="tabpanel" aria-labelledby="workflow-settings-tab">
<pre><code class="language-json">{{ config.settings.workflows|pretty_format_model }}</code></pre>
<pre><code class="language-json">{{ config.settings|pretty_format_model }}</code></pre>
</div>
<div class="tab-pane" id="roles" role="tabpanel" aria-labelledby="roles-tab">
<div class="table-responsive p-0">
Expand Down
6 changes: 0 additions & 6 deletions otterdog/webapp/templates/home/repository.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ <h1>Repository {{ repo_name }}</h1>
<li class="nav-item">
<a class="nav-link" id="settings-tab" data-toggle="pill" href="#settings" role="tab" aria-controls="settings" aria-selected="false">Settings</a>
</li>
<li class="nav-item">
<a class="nav-link" id="workflow-settings-tab" data-toggle="pill" href="#workflow-settings" role="tab" aria-controls="workflow-settings" aria-selected="false">Workflow Settings</a>
</li>
<li class="nav-item">
<a class="nav-link" id="secrets-tab" data-toggle="pill" href="#secrets" role="tab" aria-controls="secrets" aria-selected="false">Secrets</a>
</li>
Expand Down Expand Up @@ -147,9 +144,6 @@ <h1>Repository {{ repo_name }}</h1>
<div class="tab-pane" id="settings" role="tabpanel" aria-labelledby="settings-tab">
<pre><code class="language-json">{{ repo_config|pretty_format_model }}</code></pre>
</div>
<div class="tab-pane" id="workflow-settings" role="tabpanel" aria-labelledby="workflow-settings-tab">
<pre><code class="language-json">{{ repo_config.workflows|pretty_format_model }}</code></pre>
</div>
<div class="tab-pane" id="secrets" role="tabpanel" aria-labelledby="secrets-tab">
<div class="table-responsive p-0">
<table class="table table-hover text-nowrap">
Expand Down

0 comments on commit a733ae9

Please sign in to comment.