Sha256: bef206ce076504931b25ad9e70f910f5c3b8eb4fdfa3b36b9ed14ab7641557b8

Contents?: true

Size: 1022 Bytes

Versions: 2

Compression:

Stored size: 1022 Bytes

Contents

= render "layouts/manage/page_title", title: "Hackathon Configuration"

.row
  .col-lg-6.mb-3
    - @config.each_key do |key|
      .card.mb-3
        .card-body
          %p.mb-1
            = link_to edit_manage_config_path(key), class: 'icon-space-r' do
              %span.fa.fa-pencil
            %b
              = t("simple_form.labels.hackathon_config.#{key}")
             
            %small
              %code= key
          %p.text-muted= t("simple_form.hints.hackathon_config.#{key}").html_safe
          - if @config[key] == ''
            %p.mb-0
              %em
                %small
                  — Not set —
          - else
            %pre.mb-0= @config[key]

  .col-lg-6.mb-3
    .card
      .card-body
        %h5.card-title Environment Variables
        %h6.card-subtitle.mb-2.text-muted
          Environment variables are configured on the production server.
        %hr
        %p
          %b AWS S3 Bucket for Resumes:
          %pre= ENV['AWS_BUCKET'] || '[No value]'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hackathon_manager-0.14.1 app/views/manage/configs/index.html.haml
hackathon_manager-0.14.0 app/views/manage/configs/index.html.haml