Sha256: 66c50d33b62072fd81134ec54d9d493cc3037bc59254b4862d5e342825ad749e

Contents?: true

Size: 938 Bytes

Versions: 1

Compression:

Stored size: 938 Bytes

Contents

.row
  .col-lg-12
    .widget
      .widget-header
        i.fa.fa-support
        = Kms::Template.model_name.human(count: 1.1)
        /a.pull-right href="#"  Manage
        a.btn.btn-sm.btn-primary.pull-right ui-sref="templates.new" ng-show="currentUser.admin"
          = I18n.t("add_template")
      .widget-body.no-padding
        .table-responsive
          table.table
            tbody
              tr ng-repeat="template in templates"
                td style="width: 80%"
                  a ui-sref="templates.edit({id: template.id})"
                    | {{ template.name }}
                td
                  .btn-group.pull-right
                    /a.btn.btn-sm.btn-info ui-sref="templates.edit({id: template.id})" ng-show="currentUser.admin"
                      /i.fa.fa-pencil
                    a.btn.btn-sm.btn-danger ng-click="destroy(template)" ng-show="currentUser.admin"
                      i.fa.fa-times

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kms-0.9.0 app/assets/javascripts/templates/templates/index.html.slim