Fix bug with quota input that prevented adding users

This commit is contained in:
John Supplee 2019-02-11 16:10:09 +02:00
parent ae6394c879
commit 7f8336e459
3 changed files with 6 additions and 2 deletions

View File

@ -61,6 +61,10 @@ Issues
Changes Changes
------- -------
### v0.40-quota-0.16-alpha
* Fix problem with quota field on control panel that prevented adding users.
### v0.40-quota-0.15-alpha ### v0.40-quota-0.15-alpha
* Fix bug where quotas are not recalculated when a user's quota is changed in control panel * Fix bug where quotas are not recalculated when a user's quota is changed in control panel

View File

@ -31,7 +31,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="sr-only" for="adduserQuota">Quota</label> <label class="sr-only" for="adduserQuota">Quota</label>
<input type="email" class="form-control" id="adduserQuota" placeholder="Quota" style="width:5em;"> <input type="text" class="form-control" id="adduserQuota" placeholder="Quota" style="width:5em;">
</div> </div>
<button type="submit" class="btn btn-primary">Add User</button> <button type="submit" class="btn btn-primary">Add User</button>
</form> </form>

View File

@ -20,7 +20,7 @@ if [ -z "$TAG" ]; then
# want to display in status checks. # want to display in status checks.
if [ "`lsb_release -d | sed 's/.*:\s*//' | sed 's/18\.04\.[0-9]/18.04/' `" == "Ubuntu 18.04 LTS" ]; then if [ "`lsb_release -d | sed 's/.*:\s*//' | sed 's/18\.04\.[0-9]/18.04/' `" == "Ubuntu 18.04 LTS" ]; then
# This machine is running Ubuntu 18.04. # This machine is running Ubuntu 18.04.
TAG=v0.40-quota-0.15-alpha TAG=v0.40-quota-0.16-alpha
elif [ "`lsb_release -d | sed 's/.*:\s*//' | sed 's/14\.04\.[0-9]/14.04/' `" == "Ubuntu 14.04 LTS" ]; then elif [ "`lsb_release -d | sed 's/.*:\s*//' | sed 's/14\.04\.[0-9]/14.04/' `" == "Ubuntu 14.04 LTS" ]; then
# This machine is running Ubuntu 14.04. # This machine is running Ubuntu 14.04.