PHP Classes

File: src/Cabin/Bridge/View/cargo/bridge_admin_notaries_list.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Cabin/Bridge/View/cargo/bridge_admin_notaries_list.twig   Download  
File: src/Cabin/Bridge/View/cargo/bridge_admin_notaries_list.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 7 years ago
Size: 1,415 bytes
 

Contents

Class file image Download
{% for name, channel in channels %} {% if channels|length > 1 %}<h3>{{ __("Channel") }}: {{ name }}</h3>{% endif %} <div class="channel_wrapper"> <table class="full-width"> <thead> <tr> <td>{{ __("Name") }}</td> <td>{{ __("Public Key") }}</td> <td>{{ __("URLs") }}</td> <td>{{ __("Actions") }}</td> </tr> </thead> <tbody> {% for idx, notary in channel.notaries %} <tr> <td>{{ notary.name }}</td> <td class="monospace">{{ notary.public_key }}</td> <td>{% if notary.urls|length > 1 %} <ol> {% for url in notary.urls %} <li>{{ url }}</li> {% endfor %} </ol> {% else %} {{ notary.urls[0] }} {% endif %}</td> <td class="table-min-width"> <button type="submit" name="delete_notary" value="{{ (name ~ "|" ~ idx)|e('html_attr') }}" class="pure-button pure-button-secondary"> <i class="fa fa-remove"></i> {{ __("Remove") }} </button> </td> </tr> {% endfor %} </tbody> </table> </div> {% endfor %}