Commit 3921a0a379746029688ed3000a1061b1805be075
1 parent
0921c44d
Exists in
dev
Shifting proposal start date for future period to the left (to the start of the proposal block)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/core/pyros_django/scientific_program/functions.py
... | ... | @@ -43,7 +43,7 @@ def get_svg_timeline(previous_period,current_period,future_period): |
43 | 43 | svg_content += "\n"+ f'<svg id="detail_current_period"><text x="0%" y="38%" fontsize="2em" fill="black">Current(P{current_period.id})</text>' + proposal_current_period + "\n" + exploit_current_period + "\n" + data_access_current_period + "</svg>" |
44 | 44 | if future_period is not None: |
45 | 45 | proposal_future_period = f'<rect id="proposal_future_period" x="5%" y=60% width="40%" height="10%" style="fill:silver;stroke-width:1"></rect>\ |
46 | - <text class="date_text" x="25%" y="75%" fontsize="2em" fill="black">{future_period.submission_start_date.strftime("%d/%m/%Y")}</text>\ | |
46 | + <text class="date_text" x="5%" y="75%" fontsize="2em" fill="black">{future_period.submission_start_date.strftime("%d/%m/%Y")}</text>\ | |
47 | 47 | <text x="32%" y="65%" fontsize="2em" fill="white">SP Proposal</text>' |
48 | 48 | |
49 | 49 | #<text x="40%" y="75%" fontsize="2e" fill="black">{future_period.start_date.strftime("%d/%m/%Y")}</text>\ | ... | ... |