Result of misspellings run.
Most of these are comments but a few are strings for users. Might be an idea to run this from time to time: https://github.com/lyda/misspell-check It runs mostly clean now.
This commit is contained in:
parent
a96e0ec57e
commit
415bade302
33 changed files with 43 additions and 43 deletions
|
@ -327,7 +327,7 @@ var NoteList = {
|
|||
|
||||
|
||||
/**
|
||||
* Gets an inital set of notes.
|
||||
* Gets an initial set of notes.
|
||||
*/
|
||||
getContent: function() {
|
||||
$.ajax({
|
||||
|
|
|
@ -192,7 +192,7 @@ ul.notes {
|
|||
}
|
||||
}
|
||||
|
||||
// "show" the icon also if we just hover somwhere over the line
|
||||
// "show" the icon also if we just hover somewhere over the line
|
||||
&:hover > td {
|
||||
background: $hover !important;
|
||||
|
||||
|
|
|
@ -128,10 +128,10 @@ class MergeRequestsController < ProjectResourceController
|
|||
end
|
||||
|
||||
def validates_merge_request
|
||||
# Show git not found page if target branch doesnt exist
|
||||
# Show git not found page if target branch doesn't exist
|
||||
return git_not_found! unless @project.repo.heads.map(&:name).include?(@merge_request.target_branch)
|
||||
|
||||
# Show git not found page if source branch doesnt exist
|
||||
# Show git not found page if source branch doesn't exist
|
||||
# and there is no saved commits between source & target branch
|
||||
return git_not_found! if !@project.repo.heads.map(&:name).include?(@merge_request.source_branch) && @merge_request.commits.blank?
|
||||
end
|
||||
|
|
|
@ -4,7 +4,7 @@ class Projects::TeamsController < Projects::ApplicationController
|
|||
@teams = current_user.is_admin? ? UserTeam.scoped : current_user.user_teams
|
||||
@teams = @teams.without_project(project)
|
||||
unless @teams.any?
|
||||
redirect_to project_team_index_path(project), notice: "No avaliable teams for assigment."
|
||||
redirect_to project_team_index_path(project), notice: "No available teams for assigment."
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ class GollumWiki
|
|||
wiki.pages.map { |page| WikiPage.new(self, page, true) }
|
||||
end
|
||||
|
||||
# Returns the last 30 Commit objects accross the entire
|
||||
# Returns the last 30 Commit objects across the entire
|
||||
# repository.
|
||||
def recent_history
|
||||
Commit.fresh_commits(wiki.repo, 30)
|
||||
|
|
|
@ -138,7 +138,7 @@ class Note < ActiveRecord::Base
|
|||
super
|
||||
end
|
||||
# Temp fix to prevent app crash
|
||||
# if note commit id doesnt exist
|
||||
# if note commit id doesn't exist
|
||||
rescue
|
||||
nil
|
||||
end
|
||||
|
|
|
@ -97,7 +97,7 @@ class GitPushService
|
|||
total_commits_count: push_commits_count
|
||||
}
|
||||
|
||||
# For perfomance purposes maximum 20 latest commits
|
||||
# For performance purposes maximum 20 latest commits
|
||||
# will be passed as post receive hook data.
|
||||
#
|
||||
push_commits_limited.each do |commit|
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
%li
|
||||
= link_to "sidekiq.log", "#sidekiq", 'data-toggle' => 'tab'
|
||||
|
||||
%p.light To prevent perfomance issues admin logs output the last 2000 lines
|
||||
%p.light To prevent performance issues admin logs output the last 2000 lines
|
||||
.tab-content
|
||||
.tab-pane.active#githost
|
||||
.file_holder#README
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue