Closed liuggio closed 10 years ago
I think we need a rework
if you are not going to work on it, please could you provide your suggestions?
What's exactly the problem ? Where is the permalink of the repository ?
@hpatoio : this is the permalink;
DOM elements are now populated via js by a naming convention that matches names from the JSON attributes with the ids in the markup. This becomes weak if we need exceptions (like in this case: populate the title part in the #repository_html h2 and regenarate the anchor inside it with the proper url). A solution could be removing the naming convention and rewriting the generateSnippets function.
Ok, Got it ! I'll work on it !
:)
what do you think to also rename the permalink:
now is #badges
could be renamed to #repository
or somethink else...
Can we close this ?
thanks
when a new search is done, the permalink of the repository disappears.
There's a javascript at
/src/PUGX/BadgeBundle/Resources/public/js/snippet.js
that replaces the content of an h2 deleting the permalink.