Sotaro KARASAWA 9 лет назад
Родитель
Сommit
3b2f36d82f
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      lib/views/layout/2column.html

+ 7 - 1
lib/views/layout/2column.html

@@ -32,7 +32,13 @@
 <div id="main" class="main col-md-9 {% if page %}{{ css.grant(page) }}{% endif %} {% block main_css_class %}{% endblock %}">
   {% if page && page.grant != 1 %}
   <p class="page-grant">
-  <i class="fa fa-lock"></i> {{ consts.pageGrants[page.grant] }} (このページの閲覧は制限されています)
+    <i class="fa fa-lock"></i> {{ consts.pageGrants[page.grant] }} (このページの閲覧は制限されています)
+  </p>
+  {% endif %}
+  {% if page && page.grant == 2 %}
+  <p class="alert alert-info">
+    このページの共有用URL
+    <input type="text" class="copy-link form-control" value="{{ baseUrl }}/{{ page._id.toString() }}" readonly>
   </p>
   {% endif %}
   <article>