{extends file="./translate.tpl"}

{block translationObjectTitle}
   {$object.id} | <a title="{'displaySliderImageDetail'|translate:'translations'}" href="javascript:nw('sliders', '{$object.id_slider}')">{$object.slider_name}</a>
   {if $object.description} - {$object.description|strip_tags|truncate:50}{/if}
{/block}

{block objectRow append}
   <div class="row subObjectsWrapper" data-type="subObjectsWrapper">
      <ul class="nav nav-tabs" data-type="subObjectsToggleButtons">
         <li>
            <a class="subObjectsToggleBtn" data-toggle="{$uniqueKey}-{$object.id}-photos"
               data-acn="loadSubObjects"
               data-url="launch.php?s=list.php&type=translatePhotos&iframe=1&uniqueKey={$uniqueKey}-{$object.id}-translatePhotos&sourceLanguage={$sourceLanguage}&language={$language}&itemsPerPage=1000&objectIDs={$object.id_photo}"
            >{'photos'|translate:'translations'}</a>
         </li>
      </ul>

      <div class="tab-content">
         <div class="tab-pane subObjects" id="{$uniqueKey}-{$object.id}-photos" data-type="subObjects"></div>
      </div>

   </div>
{/block}
