Skip to content

Commit

Permalink
EXPERIMENTAL link to graphviewer from node page
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Mar 26, 2019
1 parent 9bab7e0 commit 390bc0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/macrogen/report.py
Expand Up @@ -382,7 +382,8 @@ def _last_ref_subpage(self, DAY, ref):
report = f"<!-- {repr(ref)} -->\n"
report += self.format_table(self.rows[-1:])
report += f"""<object id="refgraph" class="refgraph" type="image/svg+xml" data="{basename.with_name(
basename.stem + '-graph.svg').name}"></object>\n"""
basename.stem + '-graph.svg').name}"></object>
<a href="subgraph?nodes={basename.stem}&amp;context=on&amp;abs_dates=on"><i class="fa fa-sliders"></i></a>\n"""
kinds = {'not_before': 'nicht vor',
'not_after': 'nicht nach',
'from_': 'von',
Expand Down

0 comments on commit 390bc0e

Please sign in to comment.