diff -r a4acf959d07e -r a2f2430dcd50 web/views/startup.py
--- a/web/views/startup.py Wed Jun 24 16:58:28 2009 +0200
+++ b/web/views/startup.py Wed Jun 24 16:58:56 2009 +0200
@@ -177,6 +177,7 @@
self.w(u'
')
self.w(u'
%s
' % _('index').capitalize())
self.w(u'
%s
' % _('Entities').capitalize())
ents = []
for eschema in sorted(entities):
- url = html_escape(self.build_url('schema', **formparams) + '#' + eschema.type)
- ents.append(u'
%s (%s)' % (url, eschema.type, _(eschema.type)))
- self.w('%s' % ', '.join(ents))
+ url = html_escape(self.build_url('schema', **formparams))
+ ents.append(u'
%s (%s)' % (
+ url, eschema.type, eschema.type, _(eschema.type)))
+ self.w(u', '.join(ents))
self.w(u'
%s
' % (_('relations').capitalize()))
rels = []
- for eschema in sorted(relations):
- url = html_escape(self.build_url('schema', **formparams) + '#' + eschema.type)
- rels.append(u'
%s (%s), ' % (url , eschema.type, _(eschema.type)))
- self.w('%s' % ', '.join(ents))
+ for rschema in sorted(relations):
+ url = html_escape(self.build_url('schema', **formparams))
+ rels.append(u'
%s (%s), ' % (
+ url , rschema.type, rschema.type, _(rschema.type)))
+ self.w(u', '.join(ents))
# entities
self.display_entities(entities, formparams)
# relations