-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
83 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{# | ||
Copyright DB InfraGO AG and contributors | ||
SPDX-License-Identifier: Apache-2.0 | ||
#} | ||
{% from 'common_macros.html.j2' import show_other_attributes, description %} | ||
|
||
<h1>{{ object.name }}</h1> | ||
{{ description(object) | safe }} | ||
|
||
{% if object.owner %} | ||
<p>This activity is performed by | ||
<b>{{ object.owner.__class__.__name__}}</b> | ||
<a href="{{ object.owner | make_href }}">{{ object.owner.name }}</a>. | ||
</p> | ||
{%%} | ||
{% else %} | ||
<p style="color: red;">No entity is responsible for performing this activity at the moment.</p> | ||
{% endif %} | ||
|
||
|
||
<h2>Operational Activity Context</h2> | ||
|
||
<p> | ||
The figure below provides an overview of the interactions between the activity of interest and other activities. | ||
</p> | ||
|
||
{{ object.context_diagram.as_svg|safe }} | ||
|
||
<h2>Other properties of "{{ object.name }}"</h2> | ||
{% set excluded = ["name", "context_diagram", "xtype", "parent"] %} | ||
{{ show_other_attributes(object, excluded) | safe }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright DB InfraGO AG and contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
template: operational-activity.html.j2 | ||
name: Operational Activity | ||
description: Specifies an operational activity. | ||
category: oa | ||
variable: | ||
name: object | ||
type: OperationalActivity | ||
below: oa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters