The core in hook_views_pre_render() that adds the 'Create project' link to the foot of the user projects view would be better done with a Views area handler.

(Unlike the related issue, we can't remove hook_views_pre_render() entirely, as that also does some work hacking the result text.)

Comments

drumm’s picture

Sounds like a good idea.

The extra result text hacking changes the header from "Full project" to "Full projects". If there's a cleaner way to do that, that would be great. If not, adding a comment would be good.

joachim’s picture

> The extra result text hacking changes the header from "Full project" to "Full projects". If there's a cleaner way to do that, that would be great. If not, adding a comment would be good.

Yup, I figured that out eventually ;) I'm pondering that one too!

yesct’s picture