Module: SortingTitlesValuesHelper

Included in:
SortingHelper
Defined in:
app/helpers/sorting_titles_values_helper.rb

Instance Method Summary collapse

Instance Method Details

#sort_title_closed_dateObject


41
42
43
# File 'app/helpers/sorting_titles_values_helper.rb', line 41

def sort_title_closed_date
  s_('SortOptions|Closed date')
end

#sort_title_closed_earlierObject


49
50
51
# File 'app/helpers/sorting_titles_values_helper.rb', line 49

def sort_title_closed_earlier
  s_('SortOptions|Closed earlier')
end

#sort_title_closed_recentlyObject


45
46
47
# File 'app/helpers/sorting_titles_values_helper.rb', line 45

def sort_title_closed_recently
  s_('SortOptions|Closed recently')
end

#sort_title_contacted_dateObject


149
150
151
# File 'app/helpers/sorting_titles_values_helper.rb', line 149

def sort_title_contacted_date
  s_('SortOptions|Last Contact')
end

#sort_title_created_dateObject

Titles.


5
6
7
# File 'app/helpers/sorting_titles_values_helper.rb', line 5

def sort_title_created_date
  s_('SortOptions|Created date')
end

#sort_title_downvotesObject


9
10
11
# File 'app/helpers/sorting_titles_values_helper.rb', line 9

def sort_title_downvotes
  s_('SortOptions|Least popular')
end

#sort_title_due_dateObject


13
14
15
# File 'app/helpers/sorting_titles_values_helper.rb', line 13

def sort_title_due_date
  s_('SortOptions|Due date')
end

#sort_title_due_date_laterObject


17
18
19
# File 'app/helpers/sorting_titles_values_helper.rb', line 17

def sort_title_due_date_later
  s_('SortOptions|Due later')
end

#sort_title_due_date_soonObject


21
22
23
# File 'app/helpers/sorting_titles_values_helper.rb', line 21

def sort_title_due_date_soon
  s_('SortOptions|Due soon')
end

#sort_title_expire_dateObject


177
178
179
# File 'app/helpers/sorting_titles_values_helper.rb', line 177

def sort_title_expire_date
  s_('SortOptions|Expired date')
end

#sort_title_label_priorityObject


25
26
27
# File 'app/helpers/sorting_titles_values_helper.rb', line 25

def sort_title_label_priority
  s_('SortOptions|Label priority')
end

#sort_title_largest_groupObject


53
54
55
# File 'app/helpers/sorting_titles_values_helper.rb', line 53

def sort_title_largest_group
  s_('SortOptions|Largest group')
end

#sort_title_largest_repoObject


57
58
59
# File 'app/helpers/sorting_titles_values_helper.rb', line 57

def sort_title_largest_repo
  s_('SortOptions|Largest repository')
end

#sort_title_latest_activityObject


61
62
63
# File 'app/helpers/sorting_titles_values_helper.rb', line 61

def sort_title_latest_activity
  _('Updated date')
end

#sort_title_merged_dateObject


29
30
31
# File 'app/helpers/sorting_titles_values_helper.rb', line 29

def sort_title_merged_date
  s_('SortOptions|Merged date')
end

#sort_title_merged_earlierObject


37
38
39
# File 'app/helpers/sorting_titles_values_helper.rb', line 37

def sort_title_merged_earlier
  s_('SortOptions|Merged earlier')
end

#sort_title_merged_recentlyObject


33
34
35
# File 'app/helpers/sorting_titles_values_helper.rb', line 33

def sort_title_merged_recently
  s_('SortOptions|Merged recently')
end

#sort_title_milestoneObject


65
66
67
# File 'app/helpers/sorting_titles_values_helper.rb', line 65

def sort_title_milestone
  s_('SortOptions|Milestone due date')
end

#sort_title_milestone_laterObject


69
70
71
# File 'app/helpers/sorting_titles_values_helper.rb', line 69

def sort_title_milestone_later
  s_('SortOptions|Milestone due later')
end

#sort_title_milestone_soonObject


73
74
75
# File 'app/helpers/sorting_titles_values_helper.rb', line 73

def sort_title_milestone_soon
  s_('SortOptions|Milestone due soon')
end

#sort_title_most_starsObject


153
154
155
# File 'app/helpers/sorting_titles_values_helper.rb', line 153

def sort_title_most_stars
  s_('SortOptions|Most stars')
end

#sort_title_nameObject


77
78
79
# File 'app/helpers/sorting_titles_values_helper.rb', line 77

def sort_title_name
  s_('SortOptions|Name')
end

#sort_title_name_ascObject


81
82
83
# File 'app/helpers/sorting_titles_values_helper.rb', line 81

def sort_title_name_asc
  s_('SortOptions|Name, ascending')
end

#sort_title_name_descObject


85
86
87
# File 'app/helpers/sorting_titles_values_helper.rb', line 85

def sort_title_name_desc
  s_('SortOptions|Name, descending')
end

#sort_title_oldest_activityObject


89
90
91
# File 'app/helpers/sorting_titles_values_helper.rb', line 89

def sort_title_oldest_activity
  s_('SortOptions|Oldest updated')
end

#sort_title_oldest_createdObject


93
94
95
# File 'app/helpers/sorting_titles_values_helper.rb', line 93

def sort_title_oldest_created
  s_('SortOptions|Oldest created')
end

#sort_title_oldest_last_activityObject


161
162
163
# File 'app/helpers/sorting_titles_values_helper.rb', line 161

def sort_title_oldest_last_activity
  s_('SortOptions|Oldest last activity')
end

#sort_title_oldest_signinObject


97
98
99
# File 'app/helpers/sorting_titles_values_helper.rb', line 97

def 
  s_('SortOptions|Oldest sign in')
end

#sort_title_oldest_starredObject


101
102
103
# File 'app/helpers/sorting_titles_values_helper.rb', line 101

def sort_title_oldest_starred
  s_('SortOptions|Oldest starred')
end

#sort_title_oldest_updatedObject


105
106
107
# File 'app/helpers/sorting_titles_values_helper.rb', line 105

def sort_title_oldest_updated
  s_('SortOptions|Oldest updated')
end

#sort_title_popularityObject


109
110
111
# File 'app/helpers/sorting_titles_values_helper.rb', line 109

def sort_title_popularity
  s_('SortOptions|Popularity')
end

#sort_title_priorityObject


113
114
115
# File 'app/helpers/sorting_titles_values_helper.rb', line 113

def sort_title_priority
  s_('SortOptions|Priority')
end

#sort_title_recently_createdObject


117
118
119
# File 'app/helpers/sorting_titles_values_helper.rb', line 117

def sort_title_recently_created
  s_('SortOptions|Last created')
end

#sort_title_recently_last_activityObject


165
166
167
# File 'app/helpers/sorting_titles_values_helper.rb', line 165

def sort_title_recently_last_activity
  s_('SortOptions|Recent last activity')
end

#sort_title_recently_signinObject


121
122
123
# File 'app/helpers/sorting_titles_values_helper.rb', line 121

def 
  s_('SortOptions|Recent sign in')
end

#sort_title_recently_starredObject


125
126
127
# File 'app/helpers/sorting_titles_values_helper.rb', line 125

def sort_title_recently_starred
  s_('SortOptions|Recently starred')
end

#sort_title_recently_updatedObject


129
130
131
# File 'app/helpers/sorting_titles_values_helper.rb', line 129

def sort_title_recently_updated
  _('Updated date')
end

#sort_title_relative_positionObject


169
170
171
# File 'app/helpers/sorting_titles_values_helper.rb', line 169

def sort_title_relative_position
  s_('SortOptions|Manual')
end

#sort_title_sizeObject


173
174
175
# File 'app/helpers/sorting_titles_values_helper.rb', line 173

def sort_title_size
  s_('SortOptions|Size')
end

#sort_title_starsObject


157
158
159
# File 'app/helpers/sorting_titles_values_helper.rb', line 157

def sort_title_stars
  s_('SortOptions|Stars')
end

#sort_title_start_date_laterObject


133
134
135
# File 'app/helpers/sorting_titles_values_helper.rb', line 133

def sort_title_start_date_later
  s_('SortOptions|Start later')
end

#sort_title_start_date_soonObject


137
138
139
# File 'app/helpers/sorting_titles_values_helper.rb', line 137

def sort_title_start_date_soon
  s_('SortOptions|Start soon')
end

#sort_title_titleObject


141
142
143
# File 'app/helpers/sorting_titles_values_helper.rb', line 141

def sort_title_title
  s_('SortOptions|Title')
end

#sort_title_upvotesObject


145
146
147
# File 'app/helpers/sorting_titles_values_helper.rb', line 145

def sort_title_upvotes
  s_('SortOptions|Most popular')
end

#sort_value_closed_dateObject


218
219
220
# File 'app/helpers/sorting_titles_values_helper.rb', line 218

def sort_value_closed_date
  'closed_at'
end

#sort_value_closed_earlierObject


226
227
228
# File 'app/helpers/sorting_titles_values_helper.rb', line 226

def sort_value_closed_earlier
  'closed_at_asc'
end

#sort_value_closed_recentlyObject


222
223
224
# File 'app/helpers/sorting_titles_values_helper.rb', line 222

def sort_value_closed_recently
  'closed_at_desc'
end

#sort_value_contacted_dateObject


326
327
328
# File 'app/helpers/sorting_titles_values_helper.rb', line 326

def sort_value_contacted_date
  'contacted_asc'
end

#sort_value_created_dateObject

Values.


182
183
184
# File 'app/helpers/sorting_titles_values_helper.rb', line 182

def sort_value_created_date
  'created_date'
end

#sort_value_downvotesObject


186
187
188
# File 'app/helpers/sorting_titles_values_helper.rb', line 186

def sort_value_downvotes
  'downvotes_desc'
end

#sort_value_due_dateObject


190
191
192
# File 'app/helpers/sorting_titles_values_helper.rb', line 190

def sort_value_due_date
  'due_date'
end

#sort_value_due_date_laterObject


194
195
196
# File 'app/helpers/sorting_titles_values_helper.rb', line 194

def sort_value_due_date_later
  'due_date_desc'
end

#sort_value_due_date_soonObject


198
199
200
# File 'app/helpers/sorting_titles_values_helper.rb', line 198

def sort_value_due_date_soon
  'due_date_asc'
end

#sort_value_expire_dateObject


354
355
356
# File 'app/helpers/sorting_titles_values_helper.rb', line 354

def sort_value_expire_date
  'expired_asc'
end

#sort_value_label_priorityObject


202
203
204
# File 'app/helpers/sorting_titles_values_helper.rb', line 202

def sort_value_label_priority
  'label_priority'
end

#sort_value_largest_groupObject


230
231
232
# File 'app/helpers/sorting_titles_values_helper.rb', line 230

def sort_value_largest_group
  'storage_size_desc'
end

#sort_value_largest_repoObject


234
235
236
# File 'app/helpers/sorting_titles_values_helper.rb', line 234

def sort_value_largest_repo
  'storage_size_desc'
end

#sort_value_latest_activityObject


238
239
240
# File 'app/helpers/sorting_titles_values_helper.rb', line 238

def sort_value_latest_activity
  'latest_activity_desc'
end

286
287
288
# File 'app/helpers/sorting_titles_values_helper.rb', line 286

def sort_value_least_popular
  'popularity_asc'
end

#sort_value_merged_dateObject


206
207
208
# File 'app/helpers/sorting_titles_values_helper.rb', line 206

def sort_value_merged_date
  'merged_at'
end

#sort_value_merged_earlierObject


214
215
216
# File 'app/helpers/sorting_titles_values_helper.rb', line 214

def sort_value_merged_earlier
  'merged_at_asc'
end

#sort_value_merged_recentlyObject


210
211
212
# File 'app/helpers/sorting_titles_values_helper.rb', line 210

def sort_value_merged_recently
  'merged_at_desc'
end

#sort_value_milestoneObject


242
243
244
# File 'app/helpers/sorting_titles_values_helper.rb', line 242

def sort_value_milestone
  'milestone'
end

#sort_value_milestone_laterObject


246
247
248
# File 'app/helpers/sorting_titles_values_helper.rb', line 246

def sort_value_milestone_later
  'milestone_due_desc'
end

#sort_value_milestone_soonObject


250
251
252
# File 'app/helpers/sorting_titles_values_helper.rb', line 250

def sort_value_milestone_soon
  'milestone_due_asc'
end

282
283
284
# File 'app/helpers/sorting_titles_values_helper.rb', line 282

def sort_value_most_popular
  'popularity_desc'
end

#sort_value_nameObject


254
255
256
# File 'app/helpers/sorting_titles_values_helper.rb', line 254

def sort_value_name
  'name_asc'
end

#sort_value_name_descObject


258
259
260
# File 'app/helpers/sorting_titles_values_helper.rb', line 258

def sort_value_name_desc
  'name_desc'
end

#sort_value_oldest_activityObject


262
263
264
# File 'app/helpers/sorting_titles_values_helper.rb', line 262

def sort_value_oldest_activity
  'latest_activity_asc'
end

#sort_value_oldest_createdObject


266
267
268
# File 'app/helpers/sorting_titles_values_helper.rb', line 266

def sort_value_oldest_created
  'created_asc'
end

#sort_value_oldest_last_activityObject


338
339
340
# File 'app/helpers/sorting_titles_values_helper.rb', line 338

def sort_value_oldest_last_activity
  'last_activity_on_asc'
end

#sort_value_oldest_signinObject


270
271
272
# File 'app/helpers/sorting_titles_values_helper.rb', line 270

def 
  'oldest_sign_in'
end

#sort_value_oldest_updatedObject


274
275
276
# File 'app/helpers/sorting_titles_values_helper.rb', line 274

def sort_value_oldest_updated
  'updated_asc'
end

#sort_value_popularityObject


278
279
280
# File 'app/helpers/sorting_titles_values_helper.rb', line 278

def sort_value_popularity
  'popularity'
end

#sort_value_priorityObject


290
291
292
# File 'app/helpers/sorting_titles_values_helper.rb', line 290

def sort_value_priority
  'priority'
end

#sort_value_recently_createdObject


294
295
296
# File 'app/helpers/sorting_titles_values_helper.rb', line 294

def sort_value_recently_created
  'created_desc'
end

#sort_value_recently_last_activityObject


342
343
344
# File 'app/helpers/sorting_titles_values_helper.rb', line 342

def sort_value_recently_last_activity
  'last_activity_on_desc'
end

#sort_value_recently_signinObject


298
299
300
# File 'app/helpers/sorting_titles_values_helper.rb', line 298

def 
  'recent_sign_in'
end

#sort_value_recently_updatedObject


302
303
304
# File 'app/helpers/sorting_titles_values_helper.rb', line 302

def sort_value_recently_updated
  'updated_desc'
end

#sort_value_relative_positionObject


346
347
348
# File 'app/helpers/sorting_titles_values_helper.rb', line 346

def sort_value_relative_position
  'relative_position'
end

#sort_value_sizeObject


350
351
352
# File 'app/helpers/sorting_titles_values_helper.rb', line 350

def sort_value_size
  'size_desc'
end

#sort_value_stars_ascObject


334
335
336
# File 'app/helpers/sorting_titles_values_helper.rb', line 334

def sort_value_stars_asc
  'stars_asc'
end

#sort_value_stars_descObject


330
331
332
# File 'app/helpers/sorting_titles_values_helper.rb', line 330

def sort_value_stars_desc
  'stars_desc'
end

#sort_value_start_date_laterObject


306
307
308
# File 'app/helpers/sorting_titles_values_helper.rb', line 306

def sort_value_start_date_later
  'start_date_desc'
end

#sort_value_start_date_soonObject


310
311
312
# File 'app/helpers/sorting_titles_values_helper.rb', line 310

def sort_value_start_date_soon
  'start_date_asc'
end

#sort_value_titleObject


314
315
316
# File 'app/helpers/sorting_titles_values_helper.rb', line 314

def sort_value_title
  'title_asc'
end

#sort_value_title_descObject


318
319
320
# File 'app/helpers/sorting_titles_values_helper.rb', line 318

def sort_value_title_desc
  'title_desc'
end

#sort_value_upvotesObject


322
323
324
# File 'app/helpers/sorting_titles_values_helper.rb', line 322

def sort_value_upvotes
  'upvotes_desc'
end