Revision 3cbd5e47 snf-astakos-app/astakos/im/settings.py
b/snf-astakos-app/astakos/im/settings.py | ||
---|---|---|
186 | 186 |
# Enforce token renewal on password change/reset |
187 | 187 |
NEWPASSWD_INVALIDATE_TOKEN = getattr( |
188 | 188 |
settings, 'ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN', True) |
189 |
|
|
190 |
|
|
191 |
RESOURCES_PRESENTATION_DATA = getattr( |
|
192 |
settings, 'ASTAKOS_RESOURCES_PRESENTATION_DATA', { |
|
193 |
'groups': { |
|
194 |
'compute': { |
|
195 |
'help_text':'group compute help text', |
|
196 |
'is_abbreviation':False, |
|
197 |
'report_desc':'', |
|
198 |
'verbose_name':'compute', |
|
199 |
}, |
|
200 |
'storage': { |
|
201 |
'help_text':'group storage help text', |
|
202 |
'is_abbreviation':False, |
|
203 |
'report_desc':'', |
|
204 |
'verbose_name':'storage', |
|
205 |
}, |
|
206 |
}, |
|
207 |
'resources': { |
|
208 |
'pithos+.diskspace': { |
|
209 |
'help_text':'resource pithos+.diskspace help text', |
|
210 |
'is_abbreviation':False, |
|
211 |
'report_desc':'Pithos+ Diskspace', |
|
212 |
'placeholder':'eg. 10GB', |
|
213 |
'verbose_name':'diskspace', |
|
214 |
}, |
|
215 |
'cyclades.vm': { |
|
216 |
'help_text':'resource cyclades.vm help text resource cyclades.vm help text resource cyclades.vm help text resource cyclades.vm help text', |
|
217 |
'is_abbreviation':True, |
|
218 |
'report_desc':'Virtual Machines', |
|
219 |
'placeholder':'eg. 2', |
|
220 |
'verbose_name':'vm', |
|
221 |
}, |
|
222 |
'cyclades.disk': { |
|
223 |
'help_text':'resource cyclades.disk help text', |
|
224 |
'is_abbreviation':False, |
|
225 |
'report_desc':'Disk', |
|
226 |
'placeholder':'eg. 5GB, 2GB etc', |
|
227 |
'verbose_name':'disk' |
|
228 |
}, |
|
229 |
'cyclades.ram': { |
|
230 |
'help_text':'resource cyclades.ram help text', |
|
231 |
'is_abbreviation':True, |
|
232 |
'report_desc':'RAM', |
|
233 |
'placeholder':'eg. 4GB', |
|
234 |
'verbose_name':'ram' |
|
235 |
}, |
|
236 |
'cyclades.cpu': { |
|
237 |
'help_text':'resource cyclades.cpu help text', |
|
238 |
'is_abbreviation':True, |
|
239 |
'report_desc':'CPUs', |
|
240 |
'placeholder':'eg. 1', |
|
241 |
'verbose_name':'cpu' |
|
242 |
}, |
|
243 |
'cyclades.network.private': { |
|
244 |
'help_text':'resource cyclades.network.private help text', |
|
245 |
'is_abbreviation':False, |
|
246 |
'report_desc':'Network', |
|
247 |
'placeholder':'eg. 1', |
|
248 |
'verbose_name':'private network' |
|
249 |
} |
|
250 |
|
|
251 |
} |
|
252 |
|
|
253 |
}) |
Also available in: Unified diff