Differences From
Artifact [c63a8aaea6]:
195 195 end
196 196
197 197 if relationship.recip.follow() then
198 198 comments:lpush('<li style="--co:30">follows you</li>')
199 199 end
200 200
201 201 var circpanel: lib.str.acc
202 + var circstr = pstr.null()
202 203 if co.aid ~= 0 then
203 204 circpanel = co:stra(128)
204 205 var allcircs = co.srv:circle_search(&co.srv.pool, co.who.id, 0)
205 206 if allcircs:ref() then
206 207 var mycircs = co.srv:circle_memberships_uid(&co.srv.pool, co.who.id, actor.id)
207 208 for i=0, allcircs.ct do
208 209 circpanel:lpush '<label><input type="checkbox" name="circle" value="'
................................................................................
215 216 end
216 217 end
217 218 circpanel:lpush '> '
218 219 :ppush(allcircs(i).name)
219 220 :lpush '</label>'
220 221 end
221 222 end
223 + circstr = circpanel:finalize()
222 224 end
223 225
224 226 var profile = data.view.profile {
225 227 nym = fullname;
226 228 bio = bio;
227 229 xid = cs(actor.xid);
228 230 avatar = cs(actor.avatar);
................................................................................
231 233 nfollowers = sn_followers, nmutuals = sn_mutuals;
232 234 tweetday = cs(timestr);
233 235 timephrase = lib.trn(actor.origin == 0, pstr 'joined', pstr 'known since');
234 236
235 237 remarks = '';
236 238
237 239 auxbtn = auxp;
238 - circles = circpanel:finalize();
240 + circles = circstr;
239 241 relations = relbtns:finalize();
240 242 sanctions = sancbtns:finalize();
241 243 }
242 244 if comments.sz > 0 then profile.remarks = comments:finalize() end
243 245
244 246 var ret = profile:poolstr(&co.srv.pool)
245 247 -- auxp:free()
246 248 --if actor.bio ~= nil then bio:free() end
247 249 --if comments.sz > 0 then profile.remarks:free() end
248 250 return ret
249 251 end
250 252
251 253 return render_profile