- {% set can_edit = overlay.type not in ['l4d2center_maps', 'cedapug_maps'] and (g.user.admin or (overlay.type == 'workshop' and overlay.user_id == g.user.id)) %}
+ {% set can_edit = g.user.admin or (overlay.type in ['workshop', 'script'] and overlay.user_id == g.user.id) %}
{% if can_edit %}
{% endif %}
@@ -27,21 +27,58 @@
Type
{{ overlay.type }}
Scope
{% if overlay.user_id %}private{% else %}system{% endif %}
Path
{{ overlay.path }}
+
+
Last build
+
+ {% if overlay.last_build_status == 'ok' %}
+ ok
+ {% elif overlay.last_build_status == 'failed' %}
+ failed
+ {% else %}
+ never
+ {% endif %}
+
+
-{% if global_source %}
+{% if overlay.type == 'script' %}
-