client-app/app/templates/components/message-info.hbs in logster-2.1.0 vs client-app/app/templates/components/message-info.hbs in logster-2.1.1
- old
+ new
@@ -1,41 +1,41 @@
-<div class="message-info">
- {{#tabbed-section}}
- {{#tab-contents name="info" hint="show info" currentMessage=currentMessage}}
- {{#if showTitle}}
- <h3>Message
- {{#if currentMessage.showCount}}
- ({{currentMessage.count}} copies reported)
- {{/if}}
- </h3>
- {{/if}}
- <pre>{{currentMessage.message}}</pre>
- {{/tab-contents}}
- {{#tab-contents name="backtrace" defaultTab="true" hint="show backtrace" currentMessage=currentMessage}}
- {{#if showTitle}}
- <h3>Backtrace</h3>
- {{/if}}
- <pre>{{currentMessage.backtrace}}</pre>
- {{/tab-contents}}
- {{#if currentMessage.env}}
- {{#tab-contents className="env" name="env" hint="show environment" currentMessage=currentMessage}}
- {{#if showTitle}}
- <h3>Env</h3>
- {{/if}}
- {{env-tab message=currentMessage}}
- {{/tab-contents}}
- {{/if}}
- {{/tabbed-section}}
-
- {{#if currentMessage}}
- <div class='message-actions'>
- {{#actions-menu actionsInMenu=actionsInMenu share=(action "share")}}
- {{#each buttons as |btn|}}
- <button {{action btn.action}} class="{{btn.klass}} btn {{if btn.danger 'danger' ''}}">
- <i class="fa fa-{{btn.icon}}"></i>
- <span>{{btn.label}}</span>
- </button>
- {{/each}}
- {{/actions-menu}}
- </div>
- {{/if}}
-</div>
+<div class="message-info">
+ {{#tabbed-section}}
+ {{#tab-contents name="info" hint="show info" currentMessage=currentMessage}}
+ {{#if showTitle}}
+ <h3>Message
+ {{#if currentMessage.showCount}}
+ ({{currentMessage.count}} copies reported)
+ {{/if}}
+ </h3>
+ {{/if}}
+ <pre>{{currentMessage.message}}</pre>
+ {{/tab-contents}}
+ {{#tab-contents name="backtrace" defaultTab="true" hint="show backtrace" currentMessage=currentMessage}}
+ {{#if showTitle}}
+ <h3>Backtrace</h3>
+ {{/if}}
+ <pre>{{currentMessage.backtrace}}</pre>
+ {{/tab-contents}}
+ {{#if currentMessage.env}}
+ {{#tab-contents className="env" name="env" hint="show environment" currentMessage=currentMessage}}
+ {{#if showTitle}}
+ <h3>Env</h3>
+ {{/if}}
+ {{env-tab message=currentMessage}}
+ {{/tab-contents}}
+ {{/if}}
+ {{/tabbed-section}}
+
+ {{#if currentMessage}}
+ <div class='message-actions'>
+ {{#actions-menu actionsInMenu=actionsInMenu share=(action "share")}}
+ {{#each buttons as |btn|}}
+ <button {{action btn.action}} class="{{btn.klass}} btn {{if btn.danger 'danger' ''}}">
+ <i class="fa fa-{{btn.icon}}"></i>
+ <span>{{btn.label}}</span>
+ </button>
+ {{/each}}
+ {{/actions-menu}}
+ </div>
+ {{/if}}
+</div>