バグ #547
クライアント画面ではアプリステータスに応じてキャンペーンやイベントを登録不可にする
ステータス: | 商用リリース | 開始日: | 2015/10/30 | |
---|---|---|---|---|
優先度: | 通常 | 期日: | ||
担当者: | 秋山 創介 | 進捗 %: | 100% | |
カテゴリ: | クライアント管理画面開発 | 作業時間の記録: | 32.00時間 | |
対象バージョン: | - |
説明
- キャンペーン新規登録
- イベント新規登録
- ファネル新規登録
基本的にステータスが「稼働中」の場合にのみ上記の操作を許可する
イベントの新規登録については例外として「仮登録」(テスト)の場合でも登録を許可する
履歴
#4 秋山 創介 が約9年前に更新
- トラッカー を 機能追加 から バグ に変更
- ステータス を 新規 から フィードバック に変更
アプリのstatusをsetしていないviewもあったので
config/routes.jsの中で各アクションが呼び出される前に
custom.setAppStatus()を呼び出す仕組みに。
■■■■left_menu.ectが使われている33箇所■■■■
●./app/views/campaign/show.ect:7: <% include 'left_menu' >
●./app/views/campaign/list.ect:7: < include 'left_menu' >
●./app/views/campaign/confirm.ect:7: < include 'left_menu' >
●./app/views/campaign/new.ect:7: < include 'left_menu' >
./app/views/user/segment.ect:7: < include 'left_menu' >
./app/views/user/list.ect:7: < include 'left_menu' >
./app/views/user/segment_list.ect:7: < include 'left_menu' >
./app/views/index.ect:7: < include 'left_menu' >
●./app/views/event/edit.ect:7: < include 'left_menu' >
●./app/views/event/list.ect:7: < include 'left_menu' >
●./app/views/event/confirm.ect:7: < include 'left_menu' >
●./app/views/event/new.ect:7: < include 'left_menu' >
●./app/views/funnel/edit.ect:7: < include 'left_menu' >
●./app/views/funnel/list.ect:7: < include 'left_menu' >
●./app/views/funnel/report.ect:7: < include 'left_menu' >
●./app/views/funnel/new.ect:7: < include 'left_menu' >
●./app/views/report/campaign.ect:7: < include 'left_menu' >
./app/views/report/user.ect:7: < include 'left_menu' >
●./app/views/report/hour.ect:7: < include 'left_menu' >
●./app/views/report/weekday.ect:7: < include 'left_menu' >
./app/views/report/sales.ect:7: < include 'left_menu' >
●./app/views/report/monthly.ect:7: < include 'left_menu' >
●./app/views/report/retention.ect:6: < include 'left_menu' >
●./app/views/report/daily.ect:7: < include 'left_menu' >
●./app/views/report/event.ect:7: < include 'left_menu' >
./app/views/application/edit.ect:7: < include 'left_menu' >
./app/views/application/add.ect:7: < include 'left_menu' >
●./app/views/dashboard.ect:7: < include 'left_menu' >
●./app/views/sdk/download.ect:7: < include 'left_menu' >
●./app/views/setting.ect:7: < include 'left_menu' >
./app/views/push/log.ect:7: < include 'left_menu' >
./app/views/push/add.ect:7: < include 'left_menu' >
./app/views/push/list.ect:7: < include 'left_menu' %>
■■■■ADMIN画面のleft_menuは別物なので対象外■■■■
./app/views/admin/campaign/edit.ect:7: <% include 'admin/left_menu' >
./app/views/admin/campaign/list.ect:7: < include 'admin/left_menu' >
./app/views/admin/campaign/new.ect:7: < include 'admin/left_menu' >
./app/views/admin/client/edit.ect:7: < include 'admin/left_menu' >
./app/views/admin/client/list.ect:7: < include 'admin/left_menu' >
./app/views/admin/client/new.ect:7: < include 'admin/left_menu' >
./app/views/admin/index.ect:7: < include 'admin/left_menu' >
./app/views/admin/event/edit.ect:7: < include 'admin/left_menu' >
./app/views/admin/event/list.ect:7: < include 'admin/left_menu' >
./app/views/admin/event/new.ect:7: < include 'admin/left_menu' >
./app/views/admin/ad_type/edit.ect:7: < include 'admin/left_menu' >
./app/views/admin/ad_type/list.ect:7: < include 'admin/left_menu' >
./app/views/admin/ad_type/new.ect:7: < include 'admin/left_menu' >
./app/views/admin/application/edit.ect:7: < include 'admin/left_menu' >
./app/views/admin/application/list.ect:7: < include 'admin/left_menu' >
./app/views/admin/application/new.ect:7: < include 'admin/left_menu' >
./app/views/admin/dashboard.ect:7: < include 'left_menu' >
./app/views/admin/provider/edit.ect:7: < include 'admin/left_menu' >
./app/views/admin/provider/list.ect:7: < include 'admin/left_menu' >
./app/views/admin/provider/new.ect:7: < include 'admin/left_menu' %>