瀏覽代碼

Add missing template

Jordi Boggiano 5 年之前
父節點
當前提交
daae74101f
共有 1 個文件被更改,包括 29 次插入0 次删除
  1. 29 0
      src/Packagist/WebBundle/Resources/views/package/spam.html.twig

+ 29 - 0
src/Packagist/WebBundle/Resources/views/package/spam.html.twig

@@ -0,0 +1,29 @@
+{% extends "PackagistWebBundle::layout.html.twig" %}
+
+{% set showSearchDesc = 'hide' %}
+
+{% block head_additions %}<meta name="robots" content="noindex, nofollow">{% endblock %}
+
+{% block title %}Suspect Packages - {{ parent() }}{% endblock %}
+
+{% block content %}
+    <div class="row">
+        <div class="col-xs-12 package">
+            <div class="package-header">
+                <h2 class="title">
+                    Suspect Packages
+                    <small>({{ count }})</small>
+                </h2>
+            </div>
+        </div>
+    </div>
+
+    <section class="row">
+        <section class="col-md-12">
+        {% embed "PackagistWebBundle:web:list.html.twig" with {noLayout: 'true', showAutoUpdateWarning: false} %}
+            {% block content_title %}
+            {% endblock %}
+        {% endembed %}
+        </section>
+    </section>
+{% endblock %}