"Fossies" - the Fresh Open Source Software Archive

Member "roundup-2.0.0/share/roundup/templates/jinja2/html/layout/permission.html" (3 Apr 2020, 475 Bytes) of package /linux/www/roundup-2.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {% if not context.is_view_ok() %}
    2 <div class="alert alert-warning alert-dismissible fade show" role="alert"> 
    3   {% if request.user.hasRole('Anonymous') %}
    4   {% trans %}Please login with your username and password.{% endtrans %}
    5   {% else %}
    6   {% trans %}You are not allowed to view this page.{% endtrans %}
    7   {% endif %}
    8   <button type="button" class="close" data-dismiss="alert" aria-label="Close">
    9     <span aria-hidden="true">&times;</span>
   10   </button>
   11 </div>
   12 {% endif %}