@extends('layout.basic.main') @push('css') @endpush @section('content')

配信メッセージ登録

@if(session('failure'))
×
  • {!! session('failure') !!}
@endif @if(session('success'))
×
  • {!! session('success') !!}
@endif {{ Form::open(['route' => !isset($stepMessage) || in_array($action, ['copy', 'insert']) ? ['stepMessage.store', $ownScenario->id] : ['stepMessage.update', $stepMessage->id], 'files' => true, 'id' => 'frmAddTemplate', 'onsubmit' => "return storeTemplate()"]) }}
@if((isset($tmp_update->type) && $tmp_update->type != 'group') || empty($tmp_update))
    type) && $action == "edit") style="display: block" @endif > @if(isset($tmp_update->type) && $action == "edit") @if($tmp_update->type == 'text')
  • テキスト
  • @elseif($tmp_update->type == 'form') @if(app('shared')->getShared()['bot']->bot_type == 0)
  • 質問・ボタン
  • @endif @elseif($tmp_update->type == 'image' || $tmp_update->type == 'voice' || $tmp_update->type == 'video')
  • メディア
  • @elseif($tmp_update->type == 'stamp') @if(app('shared')->getShared()['bot']->bot_type == 0)
  • スタンプ
  • @endif @elseif($tmp_update->type == 'location') @if(app('shared')->getShared()['bot']->bot_type == 0)
  • 位置情報
  • @endif @elseif($tmp_update->type == 'introduction') @if(app('shared')->getShared()['bot']->bot_type == 0)
  • 紹介
  • @endif @elseif($tmp_update->type == 'voice') @if(app('shared')->getShared()['bot']->bot_type == 0)
  • 音声
  • @endif @elseif($tmp_update->type == 'video') @if(app('shared')->getShared()['bot']->bot_type == 0)
  • 動画
  • @endif @endif @else
  • type) && $tmp_update->type == 'text') || !isset($tmp_update->type))class="select" @endif data-name="text">テキスト
  • @if(app('shared')->getShared()['bot']->bot_type == 0)
  • type) && $tmp_update->type == 'form')class="select" @endif data-name="form">質問・ボタン
  • @endif
  • type) && ($tmp_update->type == 'image' || $tmp_update->type == 'voice' || $tmp_update->type == 'video'))class="select" @endif data-name="media">メディア
  • @if(app('shared')->getShared()['bot']->bot_type == 0)
  • type) && $tmp_update->type == 'question')class="select" @endif data-name="question" style="display: none">質問
  • type) && $tmp_update->type == 'stamp')class="select" @endif data-name="stamp">スタンプ
  • type) && $tmp_update->type == 'location')class="select" @endif data-name="location">位置情報
  • type) && $tmp_update->type == 'introduction')class="select" @endif data-name="introduction">紹介
  • @endif @endif
@endif
    @if((isset($tmp_update->type) && $tmp_update->type == 'group') && !empty($tmp_update))

    テンプレート名 : {{ $tmp_update ? $tmp_update->name : ''}} @if($action == 'edit') テンプレートを編集する @endif

    @endif
  • type) && $tmp_update->type != 'text')) style="display: none; position: relative " @else style="position: relative" @endif> @include('basic.template_components.text', ['type' => 1, 'message_event' => 0])
  • @if(app('shared')->getShared()['bot']->bot_type == 0) @endif
  • type) && $tmp_update->type != 'image' && $tmp_update->type != 'voice' && $tmp_update->type != 'video') || empty($tmp_update)) style="display: none" @endif> @include('basic.template_components.media', ['tmp' => 1])
  • @if(app('shared')->getShared()['bot']->bot_type == 0)
  • type) && $tmp_update->type != 'question') || empty($tmp_update)) style="display: none" @endif> @include('basic.message_template.partials.question', ['tmp' => 1])
  • type) && $tmp_update->type != 'stamp') || empty($tmp_update)) style="display: none" @endif> @include('basic.template_components.sticker', ['tmp' => 1])
  • type) && $tmp_update->type != 'location') || empty($tmp_update)) style="display: none" @endif> @include('basic.template_components.location')
  • type) && $tmp_update->type != 'introduction') || empty($tmp_update)) style="display: none" @endif> @include('basic.template_components.introduction')
  • @endif
@if($action != "edit"||(isset($tmp_update_2->type) && $action == "edit")) @endif
@if(!empty($tmp_update_2) && ($tmp_update_2->type == 'text')) @else @endif @if(!empty($tmp_update_3) && ($tmp_update_3->type == 'text')) @else @endif @if(!empty($tmp_update) && ($tmp_update->type == 'image' || $tmp_update->type == 'video' || $tmp_update->type == 'voice' || $tmp_update->type == 'form')) @else @endif @if(!empty($tmp_update_2) && ($tmp_update_2->type == 'image' || $tmp_update_2->type == 'video' || $tmp_update_2->type == 'voice')) @else @endif @if(!empty($tmp_update_3) && ($tmp_update_3->type == 'image' || $tmp_update_3->type == 'video' || $tmp_update_3->type == 'voice')) @else @endif @if(!empty($tmp_update) && ($tmp_update->type == 'video' || $tmp_update->type == 'image')) @else @endif @if(!empty($tmp_update_2) && ($tmp_update_2->type == 'video' || $tmp_update_2->type == 'image')) @else @endif @if(!empty($tmp_update_3) && ($tmp_update_3->type == 'video' || $tmp_update_3->type == 'image')) @else @endif {{ Form::close() }} @include('basic.message_template.partials.modal' ) @include('layout.modal_setting.modal_select_action') @include('layout.modal_filter_v2')
@endsection @push('js') @endpush