<div class="history-detail-modal">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>

        <h3>
            Details
        </h3>

    </div>
    <div class="modal-body">
        {{#if_eq eventType compare="grabbed"}}
            <dl class="dl-horizontal">

                <dt>Name</dt>
                <dd>{{sourceTitle}}</dd>

                {{#with data}}
                    {{#if indexer}}
                        <dt>Indexer</dt>
                        <dd>{{indexer}}</dd>
                    {{/if}}

                    {{#if releaseGroup}}
                        <dt>Release Group</dt>
                        <dd>{{releaseGroup}}</dd>
                    {{/if}}

                    {{#if nzbInfoUrl}}
                        <dt>Info</dt>
                        <dd><a href="{{infoUrl}}">{{infoUrl}}o</a></dd>
                    {{/if}}
                {{/with}}
            </dl>
        {{else}}
            {{#if data}}
                {{#with data}}
                    <dl class="dl-horizontal">
                        {{#if droppedPath}}
                            <dt>Source:</dt>
                            <dd>{{droppedPath}}</dd>
                        {{/if}}

                        {{#if importedPath}}
                            <dt>Imported To:</dt>
                            <dd>{{importedPath}}</dd>
                        {{/if}}
                    </dl>
                {{/with}}
            {{else}}
                No details available
            {{/if}}
        {{/if_eq}}
    </div>
    <div class="modal-footer">
        <button class="btn" data-dismiss="modal">close</button>
    </div>
</div>

