github-to-canvas 0.0.57 → 0.0.58
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef90c29bdb5096d81deb8c51acdf5e53ff2c58da6c968f220d9be7df5eef795a
|
4
|
+
data.tar.gz: dfdd350bcc6877d9e3c2d42b76096c6b6ac8abe9f4e96c77d48726cf5aa51748
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82c2f07ef261dccdabc60c938b0165a92d5f9853e2c1cb1f80783784918ea177b5c681093c6e4004211beee622e060afa2b760cc1f8ba56718b6513044008032
|
7
|
+
data.tar.gz: 71d0b3e3de82994df654e595a6d9e0a9f6bc8c6c3d81e404f7991cac47795109ec73f2d6f04a853e624e4bf7c83c3b7c7cb092220e8d9175331139478f058ef7
|
@@ -84,7 +84,7 @@ class RepositoryConverter
|
|
84
84
|
|
85
85
|
def self.create_github_link_header(repo_path, forkable)
|
86
86
|
# add link to associated repository
|
87
|
-
|
87
|
+
github_repo_link = "<a class='fis-git-link' href='#{repo_path}' target='_blank' rel='noopener'><img id='repo-img' title='Open GitHub Repo' alt='GitHub Repo' /></a>"
|
88
88
|
|
89
89
|
# add link to new issue form
|
90
90
|
github_issue_link = "<a class='fis-git-link' href='#{repo_path}/issues/new' target='_blank' rel='noopener'><img id='issue-img' title='Create New Issue' alt='Create New Issue' /></a>"
|
@@ -94,7 +94,7 @@ class RepositoryConverter
|
|
94
94
|
github_fork_link = "<a class='fis-fork-link' id='fork-link' href='#' target='_blank' rel='noopener'><img id='fork-img' title='Fork This Assignment' alt='Fork This Assignment' /></a>"
|
95
95
|
"<header class='fis-header' style='visibility: hidden;'>#{github_fork_link}#{github_issue_link}</header>"
|
96
96
|
else
|
97
|
-
"<header class='fis-header' style='visibility: hidden;'>#{github_issue_link}</header>"
|
97
|
+
"<header class='fis-header' style='visibility: hidden;'>#{github_repo_link}#{github_issue_link}</header>"
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|