Project

General

Profile

Feature #16483

Feature #11162: Create personas to visualize our user base

Publish our personas on our website

Added by sajolida 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
02/24/2019
Due date:
% Done:

0%

Feature Branch:
contrib/16483-publish-personas
Type of work:
Contributors documentation
Blueprint:
Starter:
Affected tool:

0001-Allow-using-custom-CSS-for-personas.patch View (1.24 KB) sajolida, 02/24/2019 01:03 PM


Related issues

Related to Tails - Bug #16542: Refresh ikiwiki wrappers when ikiwiki.setup.erb is updated Resolved 03/07/2019

History

#1 Updated by sajolida 7 months ago

I have a branch now.

I need our beloved sysadmins to allow using custom CSS on these pages (I used Bootstrap to make them look nice efficiently).

I'm putting in attachment a patch for puppet-tails.git. Please tell me once it's applied and I'll merged my branch.

#2 Updated by sajolida 7 months ago

  • Feature Branch changed from contrib/15714-publish-personas to contrib/16483-publish-personas

#3 Updated by intrigeri 7 months ago

  • Assignee changed from groente to bertagaz

(Assigning to the sysadmin currently on duty.)

#4 Updated by intrigeri 7 months ago

And I'm super happy our personas are going to be live! \o/

#5 Updated by bertagaz 7 months ago

  • Status changed from Confirmed to In Progress
  • Assignee changed from bertagaz to sajolida

sajolida wrote:

I need our beloved sysadmins to allow using custom CSS on these pages (I used Bootstrap to make them look nice efficiently).

I'm putting in attachment a patch for puppet-tails.git. Please tell me once it's applied and I'll merged my branch.

Deployed!

#6 Updated by sajolida 7 months ago

  • Assignee changed from sajolida to bertagaz

Thanks for doing this so promptly!

I merged my branch but the additional CSS were removed from the resulting page.
On my local builts the same changes my ikiwiki.setup works to have the extra CSS.
Could it be that the changes were not applied correctly?

Or that the website needs to be rebuilt for them to be taken into account (though on my local build, updating the personas page was enough to have them include the additional CSS)?

#7 Updated by bertagaz 7 months ago

  • Assignee changed from bertagaz to sajolida

sajolida wrote:

Thanks for doing this so promptly!

I merged my branch but the additional CSS were removed from the resulting page.
On my local builts the same changes my ikiwiki.setup works to have the extra CSS.
Could it be that the changes were not applied correctly?

I just checked and the changes were correctly deployed.

Or that the website needs to be rebuilt for them to be taken into account (though on my local build, updating the personas page was enough to have them include the additional CSS)?

I pushed a tiny commit on that page, and it has been rebuilt, but indeed the CSS is not included in the page.

I've greped to see how the meta stylesheet was used elsewhere and in the wiki/src/donate.html page the quotes are escaped, but not in the personas page, so maybe that's why?

#8 Updated by sajolida 7 months ago

  • Assignee changed from sajolida to bertagaz

I've greped to see how the meta stylesheet was used elsewhere and in the wiki/src/donate.html page the quotes are escaped, but not in the personas page, so maybe that's why?

What do you mean by that?

In donate.html we have:

[[!meta stylesheet="bootstrap.min" rel="stylesheet" title=""]]
[[!meta stylesheet="personas" rel="stylesheet" title=""]]
[[!meta stylesheet="bootstrap.min" rel="stylesheet" title=""]]
[[!meta stylesheet="donate" rel="stylesheet" title=""]]

And no different apart from s/donate/personas/.

I now tried to use a full path in 6358b6ba73 but it didn't change anything either.

What else can I try on my side?

#9 Updated by intrigeri 7 months ago

I suspect one needs to update the ikiwiki wrappers with the --wrappers option.

#10 Updated by bertagaz 7 months ago

  • Assignee changed from bertagaz to sajolida

sajolida wrote:

In donate.html we have:

[...]

And no different apart from s/donate/personas/.

Oops sorry, I've read the grep result too fast. Quoting was indeed only in the po files. :)

intrigeri wrote:

I suspect one needs to update the ikiwiki wrappers with the --wrappers option.

Good catch, I've run a rebuild with this option, and indeed the page looks better now.

#11 Updated by sajolida 7 months ago

  • Status changed from In Progress to Resolved
  • Assignee deleted (sajolida)

Yeah! Well done!

#12 Updated by intrigeri 6 months ago

  • Related to Bug #16542: Refresh ikiwiki wrappers when ikiwiki.setup.erb is updated added

Also available in: Atom PDF