Sha256: dd62b1069d280c146145d7ec1130333287c115f972cd534c35a855735762d396

Contents?: true

Size: 1.45 KB

Versions: 1

Compression:

Stored size: 1.45 KB

Contents

<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 name="env" hint="show environment" currentMessage=currentMessage}}
          {{#if showTitle}}
          <h3>Env</h3>
          {{/if}}
          <pre>{{currentMessage.envDebug}}</pre>
      {{/tab-contents}}
    {{/if}}
  {{/tabbed-section}}

  {{#if currentMessage}}
    <div class='message-actions'>

    {{#unless currentMessage.protected}}
      <button {{action 'remove'}} class="delete btn danger"><i class='fa fa-trash-o'></i>Delete</button>

      <button {{action 'protect'}} class="protect btn"><i class='fa fa-lock'></i>Protect</button>
    {{else}}
      <button {{action 'unprotect'}} class="unprotect btn"><i class='fa fa-unlock'></i>Unprotect</button>
    {{/unless}}
      <a href="{{currentMessage.shareUrl}}" class="share btn"><i class='fa fa-share'></i>Share</a>
    </div>

  {{/if}}
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logster-0.8.4.6.pre assets/javascript/components/message-info.hbs