From 034315d421c01c5524565d24e3f7fd3666a77ee1 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 28 Jan 2019 22:28:47 +0000 Subject: Add notes about min/max, and hide invalid options --- app/templates/packages/release_edit.html | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'app/templates/packages/release_edit.html') diff --git a/app/templates/packages/release_edit.html b/app/templates/packages/release_edit.html index 32df306..2f69f2c 100644 --- a/app/templates/packages/release_edit.html +++ b/app/templates/packages/release_edit.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block title %} - Create a release | {{ package.title }} + Edit release | {{ package.title }} {% endblock %} {% block content %} @@ -39,12 +39,27 @@ Approved: {{ release.approved }} {% endif %} {% endif %} - +
{{ render_field(form.min_rel, class_="col-sm-6") }} {{ render_field(form.max_rel, class_="col-sm-6") }}
+ + +

+ Note: Min and max versions will be used to hide the package on + platforms not within the range. + You cannot selected the oldest version for min or the newest version + for max as this does not make sense - you can't predict the future. +

+ {{ render_submit_field(form.submit) }} {% endblock %} + +{% block scriptextra %} + +{% endblock %} -- cgit v1.2.3