From 402722d56365b5758bf4d69c4e88b5ec12763275 Mon Sep 17 00:00:00 2001 From: Kirill Lashuk Date: Mon, 14 Jan 2013 23:11:30 +0300 Subject: [PATCH] Rename urlStatusImage to statusImageUrl. --- .../scripts/app/templates/repos/show/tools.hbs | 2 +- assets/scripts/app/views/repo/show.coffee | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/assets/scripts/app/templates/repos/show/tools.hbs b/assets/scripts/app/templates/repos/show/tools.hbs index 58d02787..e4057b14 100644 --- a/assets/scripts/app/templates/repos/show/tools.hbs +++ b/assets/scripts/app/templates/repos/show/tools.hbs @@ -44,7 +44,7 @@

- +

diff --git a/assets/scripts/app/views/repo/show.coffee b/assets/scripts/app/views/repo/show.coffee index cadcfd79..d536a4d7 100644 --- a/assets/scripts/app/views/repo/show.coffee +++ b/assets/scripts/app/views/repo/show.coffee @@ -184,22 +184,22 @@ 'https://' + location.host + Travis.Urls.repo(@get('repo.slug')) ).property('repo.slug') - urlStatusImage: (-> + statusImageUrl: (-> Travis.Urls.statusImage(@get('repo.slug'), @get('statusImageBranch.commit.branch')) ).property('repo.slug', 'statusImageBranch') markdownStatusImage: (-> - "[![Build Status](#{@get('urlStatusImage')})](#{@get('urlRepo')})" - ).property('urlStatusImage') + "[![Build Status](#{@get('statusImageUrl')})](#{@get('urlRepo')})" + ).property('statusImageUrl') textileStatusImage: (-> - "!#{@get('urlStatusImage')}!:#{@get('urlRepo')}" - ).property('urlStatusImage') + "!#{@get('statusImageUrl')}!:#{@get('urlRepo')}" + ).property('statusImageUrl') rdocStatusImage: (-> - "{\"Build}[#{@get('urlRepo')}]" - ).property('urlStatusImage') + "{\"Build}[#{@get('urlRepo')}]" + ).property('statusImageUrl') asciidocStatusImage: (-> - "image:#{@get('urlStatusImage')}[\"Build Status\", link=\"#{@get('urlRepo')}\"]" - ).property('urlStatusImage') + "image:#{@get('statusImageUrl')}[\"Build Status\", link=\"#{@get('urlRepo')}\"]" + ).property('statusImageUrl')