#dev | Logs for 2022-06-21

« return
[05:32:55] -!- requerdanos has quit [Ping timeout: 264 seconds]
[05:43:29] -!- requerdanos [requerdanos!~requerdan@Soylent/Staff/Editor/requerdanos] has joined #dev
[17:39:44] <FatPhil> Wake up - time to dev!
[17:40:24] <FatPhil> git grep -B1 'from the [^a-zA-Z].*dept'
[17:40:35] <FatPhil> you get about a dozen hits
[17:42:09] <FatPhil> one or two of them, presumably is how the front page, and the individual stories, render the dept line.
[17:42:19] <FatPhil> However, if there is no dept, they suppress the whole line
[17:43:08] <FatPhil> The daily digests sent out by mail, however, dumbly include a ``from the dept'' line in empty-dept cases
[17:43:22] <FatPhil> which presumably is another one of those grep hits.
[17:45:25] <FatPhil> Some of the greps show only the IF constants.use_dept condition, but others are more complex.
[17:45:55] <FatPhil> I presume that extra complexity is what supresses the line on the front page and in the stories.
[17:46:26] <FatPhil> Can that extra complexity be added to other contexts to, so we don't get any more dumb ' ' depts?
[17:46:59] <FatPhil> I presume all that needs to be done is to add an extra condition on the variable that's being output later in the line.
[17:47:15] <FatPhil> which is a different variable in the different templates