Skip to content
Snippets Groups Projects
Commit 70044d87 authored by Mathis Neumann's avatar Mathis Neumann
Browse files

avoid multiple lines for sidebar buttons

parent ffcd2dd5
No related branches found
No related tags found
No related merge requests found
{{#architecture-viewer graph=graphModel}}
<button {{action 'applyQueueUpdates'}} type="button" class="btn {{if changelogQueue.empty 'btn-default' 'btn-warning'}}" disabled={{ changelogQueue.empty }} title="Updates are possible when the deployment changed and new information is ready to get visualized!">
<i class="glyphicon glyphicon-refresh"></i> Apply Updates {{#if changelogQueue.available}}({{ changelogQueue.size }}){{/if}}
<button {{action 'applyQueueUpdates'}} type="button" class="btn {{if changelogQueue.empty 'btn-default' 'btn-warning'}} btn-sm" disabled={{ changelogQueue.empty }} title="Updates are possible when the deployment changed and new information is ready to get visualized!">
{{!-- <i class="glyphicon glyphicon-refresh"></i> --}} Apply Updates {{#if changelogQueue.available}}({{ changelogQueue.size }}){{/if}}
</button>
{{!-- sidebar will be closed since both views do not contain the same elements --}}
{{#if (eq model.mode 'architectures')}}
{{#link-to 'deployments.single' model.systemId tagName='button' class='btn btn-default'}}
{{#link-to 'deployments.single' model.systemId tagName='button' class='btn btn-default btn-sm'}}
Deployments
{{/link-to}}
{{else}}
{{#link-to 'architectures.single' model.systemId tagName='button' class='btn btn-default'}}
{{#link-to 'architectures.single' model.systemId tagName='button' class='btn btn-default btn-sm'}}
Architecture
{{/link-to}}
{{/if}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment