diff options
-rw-r--r-- | templates/web/fixmybarangay/footer.html | 20 | ||||
-rw-r--r-- | web/cobrands/fixmybarangay/message_manager.scss | 8 |
2 files changed, 27 insertions, 1 deletions
diff --git a/templates/web/fixmybarangay/footer.html b/templates/web/fixmybarangay/footer.html index 88f18db4b..a79d30d4e 100644 --- a/templates/web/fixmybarangay/footer.html +++ b/templates/web/fixmybarangay/footer.html @@ -75,6 +75,26 @@ </div> </div> <div style="display:none"> + <div id="detach-form-container" class="fancybox-popup"> + <p> + Are you sure you want to detach this message? + </p> + <p> + Message Manager probably thinks this message is a reply because + it came in from a number to which we'd recently sent an outward reply. + </p> + <p> + If you detach the message, it will appear as a new, available message (instead of being a reply). + </p> + <!-- + echo $this->Form->create(array('id' => 'detach-form','default'=>false)); + echo $this->Form->input('msg_id', array('type'=>'hidden', 'name'=>'msg_id', 'id'=>'detach_msg_id')); + echo $this->Form->submit(__('Detach Message'), array('id' => 'detach-submit')); + echo $this->Form->end(); + --> + </div> + </div> + <div style="display:none"> <div id="mm-help" style="font-size:90%;"> <h2> Accessing Message Manager from FixMyBarangay (FMB)</h2> <h3> diff --git a/web/cobrands/fixmybarangay/message_manager.scss b/web/cobrands/fixmybarangay/message_manager.scss index 120bea4ba..6143f2f34 100644 --- a/web/cobrands/fixmybarangay/message_manager.scss +++ b/web/cobrands/fixmybarangay/message_manager.scss @@ -16,7 +16,7 @@ $color_bg_mm_list: #F6F6F6; $color_bg_btn_hide: #ff0000; $color_bg_btn_reply: #008000; $color_bg_btn_info: #0000ff; - +$color_bg_btn_detach: #FFA500; $weak_text_color: #666; @@ -188,6 +188,11 @@ p.mm-submitted-by-sms { background-color: $color_bg_btn_reply; cursor: pointer; } + .mm-detach { + right:5.65em; + background-color: $color_bg_btn_detach; + cursor: pointer; + } } &.mm-archive { display: none; // archive only shown on interaction @@ -211,6 +216,7 @@ p.mm-submitted-by-sms { width: 11em; // hack to stop adjacent button hopping when button message changes } +#detach-form-container, #reply-form-container, #hide-form-container { p { |