Skip to content

Commit 110b900

Browse files
Changed source link to be more concise
1 parent 9fb08cf commit 110b900

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

app/rooms/examples/eg001_create_room_with_data/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ def get_view():
5353
return render_template(
5454
"eg001_create_room_with_data.html",
5555
title="Creating a room with data",
56-
source_file=path.relpath(path.dirname(__file__), start='app') + "/controller.py",
56+
source_file=path.basename(path.dirname(__file__)) + "\controller.py",
5757
source_url="https://github.com/docusign/code-examples-python/tree/master/app/" + path.relpath(path.dirname(__file__), start='app') + "/controller.py",
5858
)

app/rooms/examples/eg002_create_room_with_template/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def get_view():
6666
return render_template(
6767
"eg002_create_room_with_template.html",
6868
title="Creating a room with a template",
69-
source_file=path.relpath(path.dirname(__file__), start='app') + "/controller.py",
69+
source_file=path.basename(path.dirname(__file__)) + "\controller.py",
7070
source_url="https://github.com/docusign/code-examples-python/tree/master/app/" + path.relpath(path.dirname(__file__), start='app') + "/controller.py",
7171
templates=templates
7272
)

app/rooms/examples/eg003_export_data_from_room/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def get_view():
6262
return render_template(
6363
"eg003_export_data_from_room.html",
6464
title="Exporting data from a room",
65-
source_file=path.relpath(path.dirname(__file__), start='app') + "/controller.py",
65+
source_file=path.basename(path.dirname(__file__)) + "\controller.py",
6666
source_url="https://github.com/docusign/code-examples-python/tree/master/app/" + path.relpath(path.dirname(__file__), start='app') + "/controller.py",
6767
rooms=rooms,
6868
)

app/rooms/examples/eg004_add_forms_to_room/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_view():
6565
return render_template(
6666
"eg004_add_forms_to_room.html",
6767
title="Adding forms to a room",
68-
source_file=path.relpath(path.dirname(__file__), start='app') + "/controller.py",
68+
source_file=path.basename(path.dirname(__file__)) + "\controller.py",
6969
source_url="https://github.com/docusign/code-examples-python/tree/master/app/" + path.relpath(path.dirname(__file__), start='app') + "/controller.py",
7070
rooms=rooms,
7171
forms=forms

app/rooms/examples/eg005_get_rooms_with_filters/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def get_view():
6969
return render_template(
7070
"eg005_get_rooms_with_filters.html",
7171
title="Getting rooms with filters",
72-
source_file=path.relpath(path.dirname(__file__), start='app') + "/controller.py",
72+
source_file=path.basename(path.dirname(__file__)) + "\controller.py",
7373
source_url="https://github.com/docusign/code-examples-python/tree/master/app/" + path.relpath(path.dirname(__file__), start='app') + "/controller.py",
7474
rooms=rooms,
7575
start=start_date.strftime("%Y-%m-%d"),

app/rooms/examples/eg006_create_external_form_fill_session/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def get_view():
6464
return render_template(
6565
"eg006_create_external_form_fill_session.html",
6666
title="Create an external form fill session",
67-
source_file=path.relpath(path.dirname(__file__), start='app') + "/controller.py",
67+
source_file=path.basename(path.dirname(__file__)) + "\controller.py",
6868
source_url="https://github.com/docusign/code-examples-python/tree/master/app/" + path.relpath(path.dirname(__file__), start='app') + "/controller.py",
6969
rooms=rooms,
7070
)

app/rooms/examples/eg007_create_form_group/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ def get_view():
5353
return render_template(
5454
"eg007_create_form_group.html",
5555
title="Creating a form group",
56-
source_file=path.relpath(path.dirname(__file__), start='app') + "/controller.py",
56+
source_file=path.basename(path.dirname(__file__)) + "\controller.py",
5757
source_url="https://github.com/docusign/code-examples-python/tree/master/app/" + path.relpath(path.dirname(__file__), start='app') + "/controller.py",
5858
)

app/rooms/examples/eg008_grant_office_access_to_form_group/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ def get_view():
6666
"eg008_grant_office_access_to_form_group.html",
6767
offices=offices,
6868
form_groups=form_groups,
69-
source_file=path.relpath(path.dirname(__file__), start='app') + "/controller.py",
69+
source_file=path.basename(path.dirname(__file__)) + "\controller.py",
7070
source_url="https://github.com/docusign/code-examples-python/tree/master/app/" + path.relpath(path.dirname(__file__), start='app') + "/controller.py",
7171
)

app/rooms/examples/eg009_assign_form_to_form_group/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ def get_view():
7575
"eg009_assign_form_to_form_group.html",
7676
forms=forms,
7777
form_groups=form_groups,
78-
source_file=path.relpath(path.dirname(__file__), start='app') + "/controller.py",
78+
source_file=path.basename(path.dirname(__file__)) + "\controller.py",
7979
source_url="https://github.com/docusign/code-examples-python/tree/master/app/" + path.relpath(path.dirname(__file__), start='app') + "/controller.py",
8080
)

0 commit comments

Comments
 (0)