Sha256: 8573a6790d418e5ca53745b398f8d2902c42ebb89806a6f1789c587b88b91593

Contents?: true

Size: 862 Bytes

Versions: 7

Compression:

Stored size: 862 Bytes

Contents

.row
  .col-lg-12
    .widget
      .widget-header
        i.fa.fa-bookmark
        = Kms::Snippet.model_name.human(count: 1.1)
        /a.pull-right href="#"  Manage
        a.btn.btn-sm.btn-primary.pull-right ui-sref="snippets.new" ng-show="currentUser.admin"
          = I18n.t("add_snippet")
      .widget-body.no-padding
        .table-responsive
          table.table
            tbody
              tr ng-repeat="snippet in snippets"
                td style="width: 80%"
                  | {{ snippet.name }}
                td
                  .btn-group.pull-right
                    a.btn.btn-sm.btn-info ui-sref="snippets.edit({id: snippet.id})" ng-show="currentUser.admin"
                      i.fa.fa-pencil
                    a.btn.btn-sm.btn-danger ng-click="destroy(snippet)" 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/snippets/index.html.slim
kms-0.7.0 app/assets/javascripts/templates/snippets/index.html.slim
kms-0.6.0 app/assets/javascripts/templates/snippets/index.html.slim
kms-0.5.0 app/assets/javascripts/templates/snippets/index.html.slim
kms-0.4.2 app/assets/javascripts/templates/snippets/index.html.slim
kms-0.4.1 app/assets/javascripts/templates/snippets/index.html.slim
kms-0.4.0 app/assets/javascripts/templates/snippets/index.html.slim