From dbe56342a19692cba6a6cd8e79a4e6b65a6d659e Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 26 Jun 2015 12:24:15 +0200 Subject: Split out package actions into a separate template This package base details and package details pages now use exactly the same code for the package actions box, so it makes sense to use a separate template file instead. Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 51 +--------------------------------------- web/template/pkgbase_actions.php | 51 ++++++++++++++++++++++++++++++++++++++++ web/template/pkgbase_details.php | 51 +--------------------------------------- 3 files changed, 53 insertions(+), 100 deletions(-) create mode 100644 web/template/pkgbase_actions.php diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index e894c07..ae8d084 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -89,57 +89,8 @@ $base_uri = get_pkgbase_uri($row['BaseName']); ?>

- + diff --git a/web/template/pkgbase_actions.php b/web/template/pkgbase_actions.php new file mode 100644 index 0000000..757b063 --- /dev/null +++ b/web/template/pkgbase_actions.php @@ -0,0 +1,51 @@ + diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index f6d8071..667b3f7 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -40,57 +40,8 @@ $base_uri = get_pkgbase_uri($row['Name']); ?>

- +
-- cgit v1.2.3-54-g00ecf