- $isBlack = $plateList->mode == PlateList::MODE_BLACK_LIST
- if($isBlack)
  - $imgurl = $plateList->getImageUrl('/images/list_black.png')
- else
  - $imgurl = $plateList->getImageUrl('/images/list_white.png')

%h3
  = t('List')
  = '#'
  = $plateList->getListTitle()
  -if(!empty($imgurl))
    %a(href="#{$imgurl}")
      %img(src="#{$imgurl}" width="100" align="right")
  
%table.table.table-striped.span6
  %thead
    %tr
      %th.span3
      %th
  %tbody
    %tr
      %td
        =t('Name')
      %td
        =$plateList->name
    %tr
      %td
        =t('Source')
      %td
        =$plateList->source
    %tr
      %td
        =t('Code')
      %td
        =$plateList->code
    %tr
      %td
        =t('Title')
      %td
        =$plateList->title
    -if(user()->checkAccess('plate_list_management'))
      %tr
        %td
          =t('Mode')
        %td
          =$plateList->mode         
      %tr
        %td
          =t('Editable')
        %td
          - if($plateList->editable)
            =t('Yes')
          - else
            =t('No')       
      %tr
        %td
          =t('Visible')
        %td
          - if($plateList->visible)
            =t('Yes')
          - else
            =t('No')         
      %tr
        %td
          =t('Auto import')
        %td
          - if($plateList->auto_import)
            =t('Yes')
          - else
            =t('No')
      - if($plateList->auto_import)      
        %tr
          %td
            =t('Import Type')
          %td
            =$plateList->import_type        
        %tr
          %td
            =t('Import Folder')
          %td
            =$plateList->import_folder
      %tr
        %td
          =t('Autoconfirm')
        %td
          - if($plateList->autoconfirm)
            =t('Yes')
          - else
            =t('No')
      - if($plateList->autoconfirm && $plateList->autoconfirm_wait!=null)      
        %tr
          %td
            =t('Autoconfirm interval')
          %td
            =$plateList->autoconfirm_wait
      %tr
        %td
          =t('Minimum duration')
        %td
          =$plateList->mintime
      %tr
        %td
          =t('Maximum duration')
        %td
          =$plateList->maxtime
      %tr
        %td
          =t('Maximum size')
        %td
          =$plateList->maxsize
    
