 <div class="repo-tag-history-element">
   <div class="cor-loader" ng-if="!historyEntries"></div>

   <span class="co-filter-box">
    <input class="form-control" type="text" ng-model="filter" placeholder="Filter History...">
   </span>

   <div class="history-list">
     <div class="empty" ng-if="historyEntries && !historyEntries.length">
      <div class="empty-primary-msg">No recent tag activity.</div>
      <div class="empty-secondary-msg">There has not been any recent tag activity on this repository.</div>
     </div>

     <div class="history-entry" ng-repeat="entry in historyEntries"
          ng-class="getEntryClasses(entry, filter)">
        <div class="history-date-break" ng-if="entry.date_break">
          {{ entry.date | amDateFormat:'dddd, MMMM Do YYYY' }}
        </div>
        <div ng-if="!entry.date_break">
          <div class="history-icon-container"><div class="history-icon"></div></div>
          <div class="history-text">
            <div class="history-description">
              <span class="tag-span"
                    ng-click="showHistory(true, entry.tag_name)">{{ entry.tag_name }}</span>
              <span ng-switch on="entry.action">
                <span ng-switch-when="create">
                  was created pointing to image <span class="image-link" repository="repository" image-id="entry.docker_image_id"></span>
                </span>
                <span ng-switch-when="delete">
                  was deleted
                </span>
                <span ng-switch-when="move">
                  was moved to image
                  <span class="image-link" repository="repository" image-id="entry.docker_image_id"></span>
                  from image
                  <span class="image-link" repository="repository" image-id="entry.old_docker_image_id"></span>
                </span>
                <span ng-switch-when="revert">
                  was reverted to image
                  <span class="image-link" repository="repository" image-id="entry.docker_image_id"></span>
                  from image
                  <span class="image-link" repository="repository" image-id="entry.old_docker_image_id"></span>
                </span>
              </span>
            </div>
            <div class="history-datetime">{{ entry.time | amDateFormat:'dddd, MMMM Do YYYY, h:mm:ss a' }}</div>
          </div>
        </div>
     </div>
   </div>
 </div>