Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor HTML tweaks #2160

Merged
merged 1 commit into from
Oct 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/views/dashboard/components/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</fieldset>

<input type="hidden" name="component[user_id]" value="{{ $component->agent_id || $current_user->id }}">
<input type="hidden" name="component[order]" value="{{ $component->order or 0 }}">
<input type="hidden" name="component[order]" value="{{ $component->order || 0 }}">

<div class="btn-group">
<button type="submit" class="btn btn-success">{{ trans('forms.save') }}</button>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/dashboard/incidents/add.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
<div class="form-group">
<label for="incident-name">{{ trans('forms.incidents.stick_status') }}</label>
<select name="stickied" class="form-control">
<option value='1'>{{ trans('forms.incidents.stickied') }}</option>
<option value='0' selected>{{ trans('forms.incidents.not_stickied') }}</option>
<option value="1">{{ trans('forms.incidents.stickied') }}</option>
<option value="0" selected>{{ trans('forms.incidents.not_stickied') }}</option>
</select>
</div>
@if(!$components_in_groups->isEmpty() || !$components_out_groups->isEmpty())
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/incidents/update.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</div>
</fieldset>

<input type="hidden" name="incident_id" value={{ $incident->id }}>
<input type="hidden" name="incident_id" value="{{ $incident->id }}">

<div class="form-group">
<div class="btn-group">
Expand Down
4 changes: 2 additions & 2 deletions resources/views/dashboard/schedule/add.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="row">
<div class="col-md-12">
@include('dashboard.partials.errors')
<form class='form-vertical' name='ScheduleForm' role='form' method='POST' autocomplete="off">
<form class="form-vertical" name="ScheduleForm" role="form" method="POST" autocomplete="off">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="visible" value="1">
<fieldset>
Expand All @@ -35,7 +35,7 @@
</div>
<div class="form-group">
<label>{{ trans('forms.incidents.message') }}</label>
<div class='markdown-control'>
<div class="markdown-control">
<textarea name="message" class="form-control autosize" rows="5" required>{{ Binput::old('incident.message') }}</textarea>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/schedule/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="row">
<div class="col-md-12">
@include('dashboard.partials.errors')
<form class='form-vertical' name='ScheduleForm' role='form' method='POST' autocomplete="off">
<form class="form-vertical" name="ScheduleForm" role="form" method='POST' autocomplete="off">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="incident[visible]" value="1">
<fieldset>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/subscribers/add.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</fieldset>

<div class="form-group">
<div class='btn-group'>
<div class="btn-group">
<button type="submit" class="btn btn-success">{{ trans('forms.add') }}</button>
<a class="btn btn-default" href="{{ route('dashboard.subscribers.index') }}">{{ trans('forms.cancel') }}</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/subscribers/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="col-xs-3">
@if($subscriber->subscriptions->count() > 0)
{!! $subscriber->subscriptions->map(function ($subscription) {
return '<span class="label label-primary">'.$subscription->component->name.'</span>';
return sprintf('<span class="label label-primary">%s</span>', $subscription->component->name);
})->implode(' ') !!}
@else
<p>{{ trans('dashboard.subscribers.no_subscriptions') }}</p>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/team/add.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</fieldset>

<div class="form-group">
<div class='btn-group'>
<div class="btn-group">
<button type="submit" class="btn btn-success">{{ trans('forms.add') }}</button>
<a class="btn btn-default" href="{{ route('dashboard.team.index') }}">{{ trans('forms.cancel') }}</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/team/invite.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</fieldset>

<div class="form-group">
<div class='btn-group'>
<div class="btn-group">
<button type="submit" class="btn btn-success">{{ trans('forms.invite') }}</button>
<a class="btn btn-default" href="{{ route('dashboard.team.index') }}">{{ trans('forms.cancel') }}</a>
</div>
Expand Down