diff options
author | Michael Elkins <melkins@tislabs.com> | 2012-11-25 04:21:51 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2012-11-25 04:21:51 +0000 |
commit | 6b24f45e97061a7bafa9af1a7efd21311892bcc4 (patch) | |
tree | 58dc94da6e4168b4a2ea32659c05fa75993144d6 /rpkid/rpki/gui/app/models.py | |
parent | 1b84c1e1febeeb5e0141eb8196b8d7c968d2c514 (diff) |
do not display part of the vcard that are disallowed by RFC
add new roa detail view, displaying covered routes
use {% url %} to get the url instead of hardcoding it in templates
add some missing title params to buttons
remove edit button from generic object detail
modify labels for validation statuses to use the label- suffix required by bootstrap 2.2.x
don't use object_detail for the repository_detail view
remove stub get_absolute_url() methods where they were previously used as placeholders
svn path=/branches/tk329/; revision=4900
Diffstat (limited to 'rpkid/rpki/gui/app/models.py')
-rw-r--r-- | rpkid/rpki/gui/app/models.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/rpkid/rpki/gui/app/models.py b/rpkid/rpki/gui/app/models.py index 0ed01aa8..2975aa0a 100644 --- a/rpkid/rpki/gui/app/models.py +++ b/rpkid/rpki/gui/app/models.py @@ -119,10 +119,6 @@ class Conf(rpki.irdb.models.ResourceHolderCA): def roas(self): return ROARequest.objects.filter(issuer=self) - @models.permalink - def get_absolute_url(self): - return ('rpki.gui.app.views.user_detail', [str(self.pk)]) - class Meta: proxy = True @@ -184,11 +180,9 @@ class ROARequest(rpki.irdb.models.ROARequest): class ROARequestPrefix(rpki.irdb.models.ROARequestPrefix): class Meta: proxy = True - verbose_name = 'ROA' def __unicode__(self): - return u'ROA request prefix %s for asn %d' % (str(self.as_roa_prefix()), - self.roa_request.asn) + return u'ROA Request Prefix %s' % str(self.as_roa_prefix()) class GhostbusterRequest(rpki.irdb.models.GhostbusterRequest): |