From ce6e3b4745c8033542ce53fb327434c198ca470c Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Mar 19 2018 11:50:35 +0000 Subject: Clean unused macro in templates Signed-off-by: Clement Verna --- diff --git a/pagure/templates/add_deploykey.html b/pagure/templates/add_deploykey.html index 23f7849..912dce4 100644 --- a/pagure/templates/add_deploykey.html +++ b/pagure/templates/add_deploykey.html @@ -1,5 +1,4 @@ {% extends "repo_master.html" %} -{% from "_formhelper.html" import render_field_in_row %} {% from "_formhelper.html" import render_bootstrap_field %} {% set tag = "home" %} diff --git a/pagure/templates/add_group_project.html b/pagure/templates/add_group_project.html index 082b8ad..df1ca96 100644 --- a/pagure/templates/add_group_project.html +++ b/pagure/templates/add_group_project.html @@ -1,5 +1,4 @@ {% extends "repo_master.html" %} -{% from "_formhelper.html" import render_field_in_row %} {% set tag = "groups" %} diff --git a/pagure/templates/add_user.html b/pagure/templates/add_user.html index 107f7bb..de9260e 100644 --- a/pagure/templates/add_user.html +++ b/pagure/templates/add_user.html @@ -1,5 +1,4 @@ {% extends "repo_master.html" %} -{% from "_formhelper.html" import render_field_in_row %} {% set tag = "home" %} diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 42d542a..cf109ff 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -1,5 +1,5 @@ {% extends "repo_master.html" %} -{% from "_formhelper.html" import render_field_in_row, show_comment, render_bootstrap_field %} +{% from "_formhelper.html" import show_comment, render_bootstrap_field %} {% block title %} {%- if pull_request -%} diff --git a/pagure/templates/settings.html b/pagure/templates/settings.html index 07691ca..800af58 100644 --- a/pagure/templates/settings.html +++ b/pagure/templates/settings.html @@ -1,5 +1,4 @@ {% extends "repo_master.html" %} -{% from "_formhelper.html" import render_field_in_row %} {% block title %}{{ select.capitalize() }} - {{ repo.namespace + '/' if repo.namespace }}{{ repo.name }}{% endblock %}