changed hardcoded quota info message with customizable quota message from db as it is supposed to
@@ -49,9 +49,7 @@ def get_quota_message(user):
percent=rounded_percent)
else:
# return quota informational message
- return_msg += 'Your quota for HydroShare resources is {allocated}{unit} in {zone} ' \
- 'zone. You currently have resources that consume {used}{unit}, ' \
- '{percent}% of your quota.'.format(allocated=uq.allocated_value,
+ return_msg += qmsg.warning_content_prepend.format(allocated=uq.allocated_value,
unit=uq.unit,
used=rounded_used_val,
zone=uq.zone,
