Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Added EID display into profiles page of registration portal
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamg9 committed Aug 14, 2024
1 parent ff3832b commit 7394ade
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
7 changes: 3 additions & 4 deletions g2p_portal_base/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.

See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
Expand Down Expand Up @@ -275,7 +274,7 @@
margin-left: 2em ;
margin-right: 2em }

pre.code .ln { color: gray; } /* line numbers */
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
Expand All @@ -301,7 +300,7 @@
span.pre {
white-space: pre }

span.problematic, pre.problematic {
span.problematic {
color: red }

span.section-subtitle {
Expand Down
15 changes: 15 additions & 0 deletions g2p_portal_base/views/profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@
</div>
</div>

<div class="col-lg-6">
<div class="s_website_form_field">
<label class="s_website_form_label" for="EID">
<span
class="s_website_form_label_content"
style="color: #666666;"
>Enumerator ID</span>
</label>
<div class="beneficiary-value">
<t
t-out="current_partner['eid'] if current_partner['eid'] else '&#8209;'"
/>
</div>
</div>
</div>
</div>

<div class="row">
Expand Down

0 comments on commit 7394ade

Please sign in to comment.