Add bitrise build links
This commit is contained in:
parent
40e79a8a73
commit
216b6b3027
3 changed files with 35 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
v-if="master"
|
||||
:released="master.released"
|
||||
:download="master.download"
|
||||
:url="master.url"
|
||||
:build="master.build"
|
||||
:commit-url="master.commitUrl" />
|
||||
<home-download-dev-item
|
||||
|
@ -14,6 +15,7 @@
|
|||
:released="version.released"
|
||||
:github="version.github"
|
||||
:download="version.download"
|
||||
:url="version.url"
|
||||
:avatar="version.avatar"
|
||||
:user="version.user"
|
||||
:build="version.build"
|
||||
|
@ -43,6 +45,7 @@ export default {
|
|||
released: build.body.finished_at,
|
||||
download: build.body.public_install_page_url,
|
||||
build: build.body.build_number,
|
||||
url: build.body.build_url,
|
||||
commitUrl: build.body.commit_view_url,
|
||||
};
|
||||
},
|
||||
|
@ -57,6 +60,7 @@ export default {
|
|||
released: build.body.finished_at,
|
||||
github: release.html_url,
|
||||
download: build.body.public_install_page_url,
|
||||
url: build.body.build_url,
|
||||
build: build.body.build_number,
|
||||
avatar: release.user.avatar_url,
|
||||
user: release.user.login,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<span class="number"> #{{ number }}</span>
|
||||
</a>
|
||||
<div class="subheader">
|
||||
<span class="build-number">{{ build }}</span>
|
||||
<a class="build-number" :href="url" @click="buildNumberClick">{{ build }}</a>
|
||||
<a
|
||||
class="released"
|
||||
:title="releasedString"
|
||||
|
@ -61,6 +61,9 @@ export default {
|
|||
download: {
|
||||
type: String,
|
||||
},
|
||||
url: {
|
||||
type: String,
|
||||
},
|
||||
avatar: {
|
||||
type: String,
|
||||
},
|
||||
|
@ -79,6 +82,13 @@ export default {
|
|||
eventLabel: this.number,
|
||||
});
|
||||
},
|
||||
buildNumberClick() {
|
||||
this.$ga.event({
|
||||
eventCategory: 'dev-item',
|
||||
eventAction: 'build-number-click',
|
||||
eventLabel: this.number,
|
||||
});
|
||||
},
|
||||
releasedClick() {
|
||||
this.$ga.event({
|
||||
eventCategory: 'dev-item',
|
||||
|
@ -174,6 +184,11 @@ export default {
|
|||
|
||||
.build-number {
|
||||
color: #0009;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.released {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="download-dev-master">
|
||||
<div class="title">Najnowsza stabilna wersja DEV</div>
|
||||
<div class="subheader">
|
||||
<span class="build-number">{{ build }}</span>
|
||||
<a class="build-number" :href="url" @click="buildNumberClick">{{ build }}</a>
|
||||
<a
|
||||
class="released"
|
||||
:title="releasedString"
|
||||
|
@ -43,8 +43,17 @@ export default {
|
|||
commitUrl: {
|
||||
type: String,
|
||||
},
|
||||
url: {
|
||||
type: String,
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
buildNumberClick() {
|
||||
this.$ga.event({
|
||||
eventCategory: 'dev-master-item',
|
||||
eventAction: 'build-number-click',
|
||||
});
|
||||
},
|
||||
releasedClick() {
|
||||
this.$ga.event({
|
||||
eventCategory: 'dev-master-item',
|
||||
|
@ -116,6 +125,11 @@ export default {
|
|||
|
||||
.build-number {
|
||||
color: #0009;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.released {
|
||||
|
|
Loading…
Reference in a new issue