mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
plugin config - default activity setting
- this can be set to make the new 'Start tracking for issue' function a one click operation
This commit is contained in:
4
app/views/stopwatch/_settings.html.erb
Normal file
4
app/views/stopwatch/_settings.html.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<p>
|
||||
<label for="settings_default_activity"><%= t '.label_default_activity' %> </label>
|
||||
<%= select_tag 'settings[default_activity]', options_from_collection_for_select( [['always_ask', t('.label_always_ask')], ['system', t('.label_system')]] + TimeEntryActivity.system.active.to_a.pluck(:id, :name), :first, :last, Stopwatch.settings['default_activity'] ) %>
|
||||
</p>
|
||||
Reference in New Issue
Block a user