chellow 1728658886.0.0__py3-none-any.whl → 1728660080.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of chellow might be problematic. Click here for more details.

@@ -31,62 +31,33 @@
31
31
  {{ user.email_address }}
32
32
  {%- endif -%}">
33
33
 
34
- <label>Role</label>
35
- <input type="radio" name="user_role_code" value="editor"
36
- {%- if request.values.user_role_editor -%}
37
- {%- if request.values.user_role_editor == 'editor' %}
38
- checked
39
- {%- endif -%}
40
- {%- else -%}
41
- {%- if user.user_role.code == 'editor' %}
42
- checked
43
- {%- endif -%}
44
- {%- endif -%}
45
- >
46
- <label>Editor</label>
47
- <input type="radio" name="user_role_code" value="viewer"
48
- {% if request.values.user_role_code %}
49
- {% if request.values.user_role_code == 'viewer' %}
50
- checked
51
- {% endif %}
52
- {% else %}
53
- {% if user.user_role.code == 'viewer' %}
54
- checked
55
- {% endif %}
56
- {% endif %}
57
- >
58
- <label>Viewer</label>
59
- <input
60
- type="radio" name="user_role_code"
61
- value="party-viewer"
62
- {%- if request.values.user_role_code -%}
63
- {%- if request.values.user_role_code == 'party-viewer' -%}
64
- checked
65
- {%- endif -%}
66
- {%- else -%}
67
- {%- if user.user_role.code == 'party-viewer' -%}
68
- checked
69
- {% endif %}
70
- {% endif %}>
71
- <label>Party Viewer</label>
72
- <select name="party_id">
73
- {% for party in parties %}
74
- <option value="{{ party.id }}"
75
- {%- if request.values.party_id -%}
76
- {%- if request.values.party_id == party.id %}
77
- selected
34
+ <fieldset>
35
+ <legend>Role</legend>
36
+ <label>Editor</label>
37
+ <input type="radio" name="user_role_code" value="editor"
38
+ {%- if request.values.user_role_editor -%}
39
+ {%- if request.values.user_role_editor == 'editor' %}
40
+ checked
78
41
  {%- endif -%}
79
42
  {%- else -%}
80
- {%- if user.party.id == party.id %}
81
- selected
43
+ {%- if user.user_role.code == 'editor' %}
44
+ checked
82
45
  {%- endif -%}
83
46
  {%- endif -%}
84
- >
85
- {{ party.name }} {{ party.participant.code }}
86
- {{ party.market_role.description }}
87
- </option>
88
- {% endfor %}
89
- </select>
47
+ >
48
+ <label>Viewer</label>
49
+ <input type="radio" name="user_role_code" value="viewer"
50
+ {% if request.values.user_role_code %}
51
+ {% if request.values.user_role_code == 'viewer' %}
52
+ checked
53
+ {% endif %}
54
+ {% else %}
55
+ {% if user.user_role.code == 'viewer' %}
56
+ checked
57
+ {% endif %}
58
+ {% endif %}
59
+ >
60
+ </fieldset>
90
61
  <input type="submit" value="Update">
91
62
  </fieldset>
92
63
  </form>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1728658886.0.0
3
+ Version: 1728660080.0.0
4
4
  Summary: Web Application for checking UK energy bills.
5
5
  Project-URL: Homepage, https://github.com/WessexWater/chellow
6
6
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
@@ -154,7 +154,7 @@ chellow/templates/sites.html,sha256=4ouJ5xYqYHjXCv3cDucTjgbOd_whReFPPHopLBdW6Go,
154
154
  chellow/templates/supplies.html,sha256=Ie_4K4-KwXqrCBwaUcjWxmV27rYjeESI_DCS9gLUipk,3488
155
155
  chellow/templates/system.html,sha256=PP8MN8mieil3AwLS1WlQBcgbl0J61bksN-Cy4toYNqo,1871
156
156
  chellow/templates/tester.html,sha256=4DYrtcnFY0y6o3K6_tSmFpPlCRngZj1zo8nJ1NI4pk8,623
157
- chellow/templates/user.html,sha256=7nl_awpvotaaEO1UBA6DL4yjSUNTxgQjFx9dhnwcoFE,3255
157
+ chellow/templates/user.html,sha256=tUeE5v-MOayJD_vP1P4g1ruoVMCTcbk-u28fOVTPj84,2412
158
158
  chellow/templates/user_roles.html,sha256=Pfjr4uApEmJl8t9s0qJTxigQcAVYw7gpV_ECE8c0Cto,399
159
159
  chellow/templates/users.html,sha256=dBB0yOvsoYbY_I9le1XGqZ0SlesUbWMqfRGlZOtOgNs,2244
160
160
  chellow/templates/e/asset_comparison.html,sha256=QyN3WMw8YoFaSWUvD2NOnRLdLdB3Kv6m3t8Id8Mb6_A,678
@@ -368,6 +368,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
368
368
  chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
369
369
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
370
370
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
371
- chellow-1728658886.0.0.dist-info/METADATA,sha256=SyYUSBlbmfky6XPMpGtmeLB4YiiZkgeBGbnGLoeQuZ8,12204
372
- chellow-1728658886.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
373
- chellow-1728658886.0.0.dist-info/RECORD,,
371
+ chellow-1728660080.0.0.dist-info/METADATA,sha256=35H6CrEAzoMZ04CzYNyl07FqTrIMfAWt7FBsKZKqzss,12204
372
+ chellow-1728660080.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
373
+ chellow-1728660080.0.0.dist-info/RECORD,,