Commit ace7a712 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8a77cabc
...@@ -309,9 +309,10 @@ ...@@ -309,9 +309,10 @@
{#- do print('jref_of_shared %r' % (ishared,)) #} {#- do print('jref_of_shared %r' % (ishared,)) #}
{%- set ref = ishared['slave_title'] %} {%- set ref = ishared['slave_title'] %}
{%- set partition_id = slap_configuration['slap-computer-partition-id'] %} {%- set partition_id = slap_configuration['slap-computer-partition-id'] %}
{%- if ref.startswith(partition_id+'_') %} {%- if ref.startswith(partition_id) %}
{%- set ref = ref[len(partition_id)+1:] %} {%- set ref = ref[len(partition_id):] %}
{%- endif %} {%- endif %}
{%- set ref = ref.removeprefix('_') %}
{{- ref | tojson }} {{- ref | tojson }}
{%- endmacro %} {%- endmacro %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment