Sha256: 07811c5635f84bc29015b43b5a4654e28709301cb11389095323ba1792172e96

Contents?: true

Size: 870 Bytes

Versions: 7

Compression:

Stored size: 870 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%"
                  | {{ 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

7 entries across 7 versions & 1 rubygems

Version Path
kms-0.8.0 app/assets/javascripts/templates/templates/index.html.slim
kms-0.7.0 app/assets/javascripts/templates/templates/index.html.slim
kms-0.6.0 app/assets/javascripts/templates/templates/index.html.slim
kms-0.5.0 app/assets/javascripts/templates/templates/index.html.slim
kms-0.4.2 app/assets/javascripts/templates/templates/index.html.slim
kms-0.4.1 app/assets/javascripts/templates/templates/index.html.slim
kms-0.4.0 app/assets/javascripts/templates/templates/index.html.slim