|
79 | 79 | </div> |
80 | 80 | <div class="column"> |
81 | 81 | {{with .OfficershipTeam}} |
82 | | - <p>Team ID: {{.TeamID}}<br> |
83 | | - Name: {{.Name}}<br> |
84 | | - Email alias: {{.EmailAlias}}<br><br> |
85 | | - Short description: {{.ShortDescription}}<br><br> |
86 | | - Full description: {{.FullDescription}} |
87 | | - {{if gt (len .TeamMembers) 0}}<br><br> |
88 | | - Officership team members: |
89 | | - <ol> |
| 82 | + <table style="border-collapse: collapse; padding-left: 10px;"> |
| 83 | + <tbody> |
| 84 | + <tr style="border: none;"> |
| 85 | + <td style="border: none; padding-right: 20px; padding-bottom: 10px;"> |
| 86 | + Team ID |
| 87 | + </td> |
| 88 | + <td style="border: none; padding-bottom: 10px;"> |
| 89 | + {{.TeamID}} |
| 90 | + </td> |
| 91 | + </tr> |
| 92 | + <tr style="border: none;"> |
| 93 | + <td style="border: none; padding-right: 20px; padding-bottom: 10px;"> |
| 94 | + Name |
| 95 | + </td> |
| 96 | + <td style="border: none; padding-bottom: 10px;"> |
| 97 | + {{.Name}} |
| 98 | + </td> |
| 99 | + </tr> |
| 100 | + <tr style="border: none;"> |
| 101 | + <td style="border: none; padding-right: 20px; padding-bottom: 10px;"> |
| 102 | + Email alias |
| 103 | + </td> |
| 104 | + <td style="border: none; padding-bottom: 10px;"> |
| 105 | + {{.EmailAlias}} |
| 106 | + </td> |
| 107 | + </tr> |
| 108 | + <tr style="border: none;"> |
| 109 | + <td style="border: none; padding-right: 20px; padding-bottom: 10px;"> |
| 110 | + Short description |
| 111 | + </td> |
| 112 | + <td style="border: none; padding-bottom: 10px;"> |
| 113 | + {{.ShortDescription}} |
| 114 | + </td> |
| 115 | + </tr> |
| 116 | + <tr style="border: none;"> |
| 117 | + <td style="border: none; padding-right: 20px; padding-bottom: 10px;"> |
| 118 | + Full Description |
| 119 | + </td> |
| 120 | + <td style="border: none; padding-bottom: 10px;"> |
| 121 | + {{.FullDescription}} |
| 122 | + </td> |
| 123 | + </tr> |
| 124 | + </tbody> |
| 125 | + </table> |
| 126 | + {{if gt (len .TeamMembers) 0}}<br> |
| 127 | + <table style="border-collapse: collapse; width: 100%;"> |
| 128 | + <tbody> |
| 129 | + <tr style="border: none;"> |
| 130 | + <th colspan="3" style="padding: 10px 0 10px 0;"> |
| 131 | + Officership team members |
| 132 | + </th> |
| 133 | + </tr> |
90 | 134 | {{range .TeamMembers}} |
91 | 135 | {{if .IsCurrent}} |
92 | | - <li style='list-style-type: none;'><span class='tab'></span> |
93 | | - <a href="/internal/officership/{{.OfficerID}}">{{.OfficerName}}</a>{{if .IsLeader}} - Leader{{else if .IsDeputy}} |
94 | | - - Deputy{{end}} <a |
95 | | - class="button is-danger is-outlined" |
96 | | - onclick="removeOfficershipFromTeamModal({{.OfficerID}}, '{{.OfficerName}}')">Remove |
97 | | - officership</a> |
98 | | - </li> |
| 136 | + <tr style="border: none;"> |
| 137 | + <td style="border: none; padding-left: 2em;"> |
| 138 | + <a href="/internal/officership/{{.OfficerID}}">{{.OfficerName}}</a> |
| 139 | + </td> |
| 140 | + <td style="border: none;"> |
| 141 | + {{if .IsLeader}}Leader{{else if .IsDeputy}}Deputy{{end}} |
| 142 | + </td> |
| 143 | + <td style="border: none;"> |
| 144 | + <a class="button is-danger is-outlined" |
| 145 | + onclick="removeOfficershipFromTeamModal({{.OfficerID}}, '{{.OfficerName}}')"> |
| 146 | + Remove officership |
| 147 | + </a> |
| 148 | + </td> |
| 149 | + </tr> |
99 | 150 | {{end}} |
100 | 151 | {{end}} |
101 | | - </ol><br> |
102 | | - Retired officership team members: |
103 | | - <ol> |
| 152 | + <tr style="border: none;"> |
| 153 | + <th colspan="3" style="padding: 10px 0 10px 0;"> |
| 154 | + Retired officership team members |
| 155 | + </th> |
| 156 | + </tr> |
104 | 157 | {{range .TeamMembers}} |
105 | 158 | {{if not .IsCurrent}} |
106 | | - <li style='list-style-type: none;'><span class='tab'></span> |
107 | | - <a href="/internal/officership/{{.OfficerID}}">{{.OfficerName}}</a>{{if .IsLeader}} - was leader{{else if .IsDeputy}} |
108 | | - - was deputy{{end}} <a |
109 | | - class="button is-danger is-outlined" |
110 | | - onclick="removeOfficershipFromTeamModal({{.OfficerID}}, '{{.OfficerName}}')">Remove |
111 | | - officership</a> |
112 | | - </li> |
| 159 | + <tr style="border: none;"> |
| 160 | + <td style="border: none; padding-left: 2em;"> |
| 161 | + <a href="/internal/officership/{{.OfficerID}}">{{.OfficerName}}</a> |
| 162 | + </td> |
| 163 | + <td style="border: none;"> |
| 164 | + {{if .IsLeader}}was leader{{else if .IsDeputy}}was deputy{{end}} |
| 165 | + </td> |
| 166 | + <td style="border: none;"> |
| 167 | + <a class="button is-danger is-outlined" |
| 168 | + onclick="removeOfficershipFromTeamModal({{.OfficerID}}, '{{.OfficerName}}')"> |
| 169 | + Remove officership |
| 170 | + </a> |
| 171 | + </td> |
| 172 | + </tr> |
113 | 173 | {{end}} |
114 | 174 | {{end}} |
115 | | - </ol> |
| 175 | + </tbody> |
| 176 | + </table> |
116 | 177 | {{end}} |
117 | | - </p> |
118 | 178 | {{if gt (len .OfficershipsNotInTeam) 0}} |
119 | | - Use the drop down below to add more officerships to this team.<br> |
| 179 | + <p>Use the drop down below to add more officerships to this team.</p><br> |
120 | 180 | <form method="post" action="/internal/officership/team/{{.TeamID}}/officership/add"> |
121 | 181 | <div class="field"> |
122 | 182 | <label class="label" for="officership">Officership</label> |
|
0 commit comments