IRC log for #koha, 2024-08-02

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
00:07 mbridge joined #koha
01:07 mbridge joined #koha
02:07 mbridge joined #koha
03:07 mbridge joined #koha
04:07 mbridge joined #koha
05:07 mbridge joined #koha
06:07 mbridge joined #koha
06:29 reiveune joined #koha
06:31 reiveune hello
06:33 saira joined #koha
06:33 saira Koha.Preference('OPACBaseURL') %]'>catalog</a>.  Your library card number is [% borrower.cardnumber %]  Membership ID: <<borrowers.cardnumber>> Username:  <<borrowers.userid>> Password: <<borrowers.password>>  You Can log in to your account and change your password at  http://library.namal.edu.pk/cg[…]koha/opac-user.pl  You will use this username and password for the following purposes   1) For checking your account details (Check outs, Overdue & fines) 2)
06:36 hi all, the following is the HTML text of welcome email it is being sent in form of a paragraph while i want to add space in line can anybody help in making amendments that can create space between line
07:07 mbridge joined #koha
07:29 alex_a joined #koha
07:46 mbridge [mattermost] <ashimema> </br>
08:07 mbridge joined #koha
09:07 mbridge joined #koha
09:36 mbridge [mattermost] <cait> If you are using HTML (checkbox on top), you need to add line breaks using <br> or by using <p></p> around paragraphs.
10:07 mbridge joined #koha
10:18 alohabot` joined #koha
10:19 alohabot` joined #koha
10:27 alohabot_ joined #koha
11:07 mbridge joined #koha
11:22 alex_a joined #koha
12:07 mbridge joined #koha
13:07 mbridge joined #koha
13:21 alex_a joined #koha
13:50 Dyrcona joined #koha
14:07 mbridge joined #koha
15:07 mbridge joined #koha
15:07 reiveune bye
15:08 reiveune left #koha
16:07 mbridge joined #koha
17:07 mbridge joined #koha
17:25 philor joined #koha
17:53 alohabot` joined #koha
18:07 mbridge joined #koha
19:07 mbridge joined #koha
20:01 mbridge [mattermost] <?/θ> Hello! Most of the Koha Community conversation is now over on Mattermost. Come and join us! https://chat.koha-community.org
20:07 mbridge joined #koha
21:07 mbridge joined #koha
21:20 sam__ joined #koha
22:07 mbridge joined #koha
22:25 mbridge [mattermost] <pabloab> Hi!
22:27 [mattermost] <pabloab> I recently upgrade to 23.11, where the accent color is #408540 everywhere.
22:27 sallyf joined #koha
22:28 mbridge [mattermost] <pabloab> I was wondering if there is a place where I could change this (maybe some day on a syspref?). For eg touching `/usr/share/koha/intranet/​htdocs/intranet-tmpl/prog/css/src/_variables.scss` and regenerating all the CSS with Sass...?
22:29 [mattermost] <pabloab> I was wondering if there is a place where I could change this (maybe some day on a syspref?). For e.g. touching `/usr/share/koha/intranet/​htdocs/intranet-tmpl/prog/css/src/_variables.scss` and regenerating all the CSS with Sass...?
22:32 [mattermost] <davidnind> Add your custom CSS to OPACUserCSS or IntranetUserCSS?
22:35 [mattermost] <pabloab> Sure! But that color is all around a lot of classes, and it seems all of them internally come from a few places where the accent color was defined.
22:36 [mattermost] <pabloab> It would be much more simple, elegant and easy to maintain if I could change the `#408540` in one or two strategic places.
22:36 [mattermost] <davidnind> Sorry, I have no idea - will leave to others to respond...
22:40 [mattermost] <pabloab> It would be much more simple, elegant and easy to maintain if I could change the `#408540` in one or two strategic places (`grep -rl --include="*.scss" "408540" /usr/share/koha`).
22:42 gmcharlt joined #koha
22:46 huginn joined #koha
22:46 alohabot` joined #koha
22:48 mbridge [mattermost] <jpahd> Search for the hex code in the scss, rebuild the css with gulp. Should do it.
22:52 felicia joined #koha
22:52 abneiman joined #koha
22:55 mbridge [mattermost] <pabloab> I should do everything manually, or there are some scripts somewhere to do that? It seems the only reference to gulp on an executable is`/usr/share/koha/misc/translator/translate`.
22:56 pastebot joined #koha
22:56 mbridge [mattermost] <pabloab> What works but is nasty is to `find /usr/share/koha -type f -name "*.css" -print0 | xargs -0 sed -i_BAK-$(date -I) -e 's/408540/mycolor/g'`
22:58 [mattermost] <jpahd> Sure you can also do that. I'd checkout the repository, `npm install` and the run `npm run css:build:prod`.
22:58 [mattermost] <jpahd> After making the changes.
22:58 [mattermost] <jpahd> The replace the css on your prod instance.
22:58 [mattermost] <jpahd> Maybe not during the busy hours, though 😃
22:59 [mattermost] <davidnind> Won't these changes all be lost when you upgrade for a maintenance release?
23:00 [mattermost] <jpahd> Yes
23:00 [mattermost] <jpahd> OPACUserCSS would be better.
23:01 [mattermost] <pabloab> Shouldn't koha devs use accent-color property for css? I could file a bug
23:02 [mattermost] <jpahd> How do you mean that?
23:05 [mattermost] <davidnind> I'm not sure what the issue is - the staff interface layout (and colour scheme was changed in 22.11 (I think)) - so it has been pretty much the same since then.
23:05 [mattermost] <davidnind> Maybe post a screenshot of your staff interface in the Town square channel.
23:05 [mattermost] <davidnind>  (The IRC bridge channel is really to make sure we don't miss anything for those who are using IRC.)
23:07 mbridge joined #koha
23:10 mbridge [mattermost] <davidnind> Lots of libraries have changed the colour scheme, but CSS/HTML in Koha isn't my thing.
23:10 [mattermost] <davidnind> For examples, look at the [TTEOTTV videos from koha-US](https://koha-us.org/learn/video-playlists/).
23:11 [mattermost] <davidnind> It doesn't look like anyone has shared much recently in the [HTML & CSS Library](https://wiki.koha-community.or[…]_%26_CSS_Library).
23:12 [mattermost] <pabloab> I believe should be easier to change just the accent color of the theme, as on new versions of GNOME/KDE/Cinnamon..
23:12 [mattermost] <pabloab> I could install gulp, but not sure where/the steps to rebuild the css. It seems the css from the scss are all over the place (`grep -rl 408540 /usr/share/koha`) and not sure if there are other tweaks on the build process.
23:13 [mattermost] <pabloab> No worries, I already could make happy the librarian with the `sed -i` strategy... until the next upgrade.
23:13 [mattermost] <davidnind> George Williams has posted here on how to customise the staff interface theme https://hopperdietzel.org/koha[…]tes/branding_koha
23:14 [mattermost] <jpahd> The problem with this is that global accent colours need to be set at build time with our current setup.
23:14 [mattermost] <jpahd> We can look into that some time. But might not be worth it.
23:16 [mattermost] <jpahd> We could of course use css variables.
23:16 [mattermost] <jpahd> Might not even be that much work.
23:16 [mattermost] <jpahd> But maybe not the worst idea to file a bug for that.
23:37 [mattermost] <pabloab> Would be _Use CSS variables whenever possible_? And the description, in particular for the accent color, on intra but (why not) on opac also.

← Previous day | Today | Next day → | Search | Index

koha1