aboutsummaryrefslogtreecommitdiff
path: root/views/default/export/relationship.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/export/relationship.php')
-rw-r--r--views/default/export/relationship.php18
1 files changed, 11 insertions, 7 deletions
diff --git a/views/default/export/relationship.php b/views/default/export/relationship.php
index 8819a356a..1dd3b8b7e 100644
--- a/views/default/export/relationship.php
+++ b/views/default/export/relationship.php
@@ -13,13 +13,17 @@
$r = $vars['relationship'];
+ $e1 = get_entity($r->guid_one);
+ $e2 = get_entity($r->guid_two);
+
+
?>
<div>
- <table>
- <tr>
- <td><?php echo $r->guid_one; ?></td>
- <td><b><?php echo $r->relationship; ?></b></td>
- <td><?php echo $r->guid_two; ?></td>
- </tr>
- </table>
+ <p><?php
+ if ($e1) echo "<a href=\"" . $e1->getURL() . "\">GUID:" . $r->guid_one . "</a>"; else echo "GUID:".$r->guid_one;
+ ?>
+ <b><?php echo $r->relationship; ?></b>
+ <?php
+ if ($e2) echo "<a href=\"" . $e2->getURL() . "\">GUID:" . $r->guid_two . "</a>"; else echo "GUID:".$r->guid_two;
+ ?></p>
</div> \ No newline at end of file