Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doi-landing-page
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alejandro De Maria Antolinos
doi-landing-page
Commits
7875b6a9
Commit
7875b6a9
authored
Apr 24, 2018
by
Maxime Chaillet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix link on doi badge
parent
dec2d52e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
www/min/doi.min.js
www/min/doi.min.js
+1
-1
www/src/doiview.js
www/src/doiview.js
+2
-2
No files found.
www/min/doi.min.js
View file @
7875b6a9
This diff is collapsed.
Click to expand it.
www/src/doiview.js
View file @
7875b6a9
...
...
@@ -26,7 +26,7 @@ DOIView.prototype.setDOI = function( doiCode ) {
$
(
"
#doiPanel
"
).
html
(
"
<div class='col'> </div>
"
+
"
<div class='col-auto mr-3 borderRadius-5 whiteBackground' style='padding:10px;'>
"
+
"
<span class='doiBadge borderRadius-5 fontSize-20'> <a href=''>
"
+
"
<span class='doiBadge borderRadius-5 fontSize-20'> <a
id='doiLink'
href=''>
"
+
doiCode
.
toUpperCase
()
+
"
</a> </span> </div>
"
);
};
...
...
@@ -36,7 +36,7 @@ DOIView.prototype.setDOI = function( doiCode ) {
*
*/
DOIView
.
prototype
.
setDOILink
=
function
(
doiLink
)
{
$
(
"
#doi
Panel
"
).
attr
(
"
href
"
,
doiLink
.
toUpperCase
()
);
$
(
"
#doi
Link
"
).
attr
(
"
href
"
,
doiLink
.
toUpperCase
()
);
};
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment