<!--
    AngularJS template. Created by fran lopez on 14/12/15.

    This is the view to show a list of tv serie images as a result of a
    search using one route parameter:

        -> TVSerieId: Is a tv serie identifier, used to find all
        tv serie images associated to a tv serie identified by this
        identifier.
-->

    <section data-ng-controller="TVSerieImagesController" data-ng-init="find()">
        <h1>Listado de imágenes de una serie</h1><hr>
        <ul>
            <li data-ng-repeat="tvSerieImage in tvSerieImages">
                <label class="staticLabel"
                       data-ng-bind="tvSerieImage.name"></label><br><br>

                <label class="thumb" href="#">
                    <img height="192" width="256"
                         ng-src="{{tvSerieImage.path | filterImgForTVSerieImages}}">
                    <span><img height="384" width="512"
                         ng-src="{{tvSerieImage.path | filterImgForTVSerieImages}}">
                    </span>
                </label><br><br>
            </li>
        </ul>
        <label id="errorLabel" data-ng-hide="!tvSerieImages || tvSerieImages.length">No existen imágenes para esta serie</label>
        <hr><br>
        <a data-ng-href="#!/tvSeries/{{TVSerieId}}">Volver a los detalles de la serie</a>
    </section>