You'd need to modify the theme:
https://github.com/NodeBB/nodebb-theme-lavender/blob/master/templates/topic.tpl#L125-L133
You'll also have to wire up some custom javascript to handle the clicking of the link as well.
i want to write code to custom import (from old phpbb system, but with custom requirements).
I wrote at first a nice code that work via the API (write plugin, with global key)
But I understand that this is not the right way for import job:
I understand that I have to work directly with the database, but I'm afraid I will not do it properly - I did not find a documentation of what to do with adding a topic, or a replay. I also feel a danger of ingorn all the validation and logic of nodebb system.
I'd love to know how you do
Your best shot is probably to fork off https://github.com/psychobunny/nodebb-plugin-import-phpbb and use nodebb-plugin-import with your custom modifications.