-$menu = array();

-if(user()->checkAccess('pdf_view_repository'))
  -if(user()->model->id == $user->id || user()->checkAccess('pdf_view_repository_full'))
    -$menu[t('View exported PDF')] = array('pdfExport/pdfRepository', 'id'=>$user->id)

.page-header
  %h2
    %li.icon-user
    = Yii::t("app", "User settings")

-$this->printMenuSimple(t("Actions"), $menu)
