* src/plugins/NarrativeWeb.py: show url when no description (#0000319)
svn: r7241
This commit is contained in:
parent
55281585e5
commit
deac55eafb
@ -1,3 +1,6 @@
|
||||
2006-08-22 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/NarrativeWeb.py: show url when no description (#0000319)
|
||||
|
||||
2006-08-22 Alex Roitman <shura@gramps-project.org>
|
||||
* src/Filters/Rules/Person/_IsDescendantFamilyOf.py: Rewrite.
|
||||
* src/Filters/_FilterParser.py (startElement): Upgrade existing
|
||||
|
@ -434,6 +434,8 @@ class BasePage:
|
||||
for url in urllist:
|
||||
uri = url.get_path()
|
||||
descr = url.get_description()
|
||||
if not descr:
|
||||
descr = uri
|
||||
of.write('<tr><td class="field">%d.</td>' % index)
|
||||
of.write('<td class="data"><a href="%s">%s</a>' % (uri,descr))
|
||||
of.write('</td></tr>\n')
|
||||
@ -2365,7 +2367,7 @@ class WebReportOptions(ReportOptions):
|
||||
|
||||
df = GenericFilter()
|
||||
df.set_name(_("Descendant Families of %s") % name)
|
||||
df.add_rule(Rules.Person.IsDescendantFamilyOf([gramps_id]))
|
||||
df.add_rule(Rules.Person.IsDescendantFamilyOf([gramps_id,1]))
|
||||
|
||||
ans = GenericFilter()
|
||||
ans.set_name(_("Ancestors of %s") % name)
|
||||
|
Loading…
Reference in New Issue
Block a user