| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <div class="header-wrap">
- <header id="page-header">
- <div class="d-flex align-items-center">
- <div class="title-logo-container hidden-xs hidden-sm">
- <a class="logo" href="/">
- <div class="light-logo">{% include '../../widget/logo.html' %}</div>
- </a>
- </div>
- <div class="title-container">
- <h1 class="title flex-item-title" id="revision-path"></h1>
- <div id="revision-url" class="url-line"></div>
- </div>
- {% if page %}
- <div>
- {% if user %}
- <button
- data-csrftoken="{{ csrf() }}"
- data-liked="{% if page.isLiked(user) %}1{% else %}0{% endif %}"
- class="like-button btn btn-default btn-outline btn-circle {% if page.isLiked(user) %}active{% endif %}"
- ><i class="icon-like"></i></button>
- {% endif %}
- </div>
- <div>
- {% if user %}
- <span id="bookmark-button"></span>
- {% endif %}
- </div>
- <ul class="authors hidden-sm hidden-xs">
- <li>
- <div class="d-flex align-items-center">
- <a class="m-r-5" href="{{ userPageRoot(page.creator) }}">
- <img src="{{ page.creator|default(author)|picture }}" class="picture img-circle">
- </a>
- <div>
- <div>Created by <a href="{{ userPageRoot(page.creator) }}">{{ page.creator.name|default(author.name) }}</a></div>
- <div class="text-muted">{{ page.createdAt|datetz('Y/m/d H:i:s') }}</div>
- </div>
- </div>
- </li>
- <li class="m-t-5">
- <div class="d-flex align-items-center">
- <a class="m-r-5" href="{{ userPageRoot(page.lastUpdateUser) }}">
- <img src="{{ page.lastUpdateUser|default(author)|picture }}" class="picture img-circle">
- </a>
- <div>
- <div>Updated by <a href="{{ userPageRoot(page.lastUpdateUser) }}">{{ page.lastUpdateUser.name|default(author.name) }}</a></div>
- <div class="text-muted">{{ page.updatedAt|datetz('Y/m/d H:i:s') }}</div>
- </div>
- </div>
- </li>
- </ul>
- {% endif %}
- {% if not page and ('/' === path or 'crowi' === behaviorType()) and not isUserPageList(path) and !isTrashPage() %}
- {% if '/' === path.slice(-1) %}
- {% include '../../widget/create_portal.html' %}
- {% endif %}
- {% endif %}
- </div>
- </header>
- </div>
|