- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2018 06:41 AM
Hi
Widget : Approval Info
Can i able to change "Earlier Items" button position and Color to Yellow.....???
and add Table lines to Options labels
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2018 08:49 AM
To move the button to right change your button below mentioned code.
<button type="button" name="earlier_item" style="float: right;" class="btn btn-warning btn-question" ng-click="c.earlier_item()">${Earlier Items}</button>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2018 07:00 AM
Hi,
Yes for Earlier info you can change the Color by manipulating CSS of this Button.
Thanks,
Ashutosh Munot

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2018 07:33 AM
Hi Chanikya,
Put code in hour HTML section as mentioned below manner
<div ng-if="c.data.state == 'requested'" class="question">
<button type="button" name="approve" class="btn btn-success btn-question" ng-click="c.action('approved')">${Approve}</button>
<div class="spacer"></div>
<button type="button" name="reject" class="btn btn-default btn-question" ng-click="c.action('rejected')">${Reject}</button>
<div class="spacer"></div>
<br>
<button type="button" name="earlier_item" class="btn btn-warning btn-question" ng-click="c.earlier_item()">${Earlier Items}</button>
</div>
and you will see the approval widget as given below
For Putting table structure for options you will have to create table like structure. Help me with the screenshot how you want.
Hope this helps.
Regards
Ujjawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2018 07:35 AM
Hi Ujjwal ,
Thanks for your replay,
Can we able to change Button position exact below of Approve button??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2018 07:44 AM
Yes You can, Use align element in CSS and margin it to left of that div.
USe CSS as below:
.btn btn-warning btn-question{
margin-left: auto;
}
Thanks,
Ashutosh