Hi.. Dave
I checked this further. Here is how merge request put versioned artifact title
```python
result = Artifact.index(self)
result.update(
name_s='Merge Request #%d' % self.request_number,
type_s=self.type_s,
title=self.email_subject,
)
```
And email subject returns `u'Merge request: ' + self.summary` So in each email
we get `[allura:git] Merge request: .... ` and each subscription we see `Merge
request: ......`
But in ticket it is different
```python
result = VersionedArtifact.index(self)
result.update(
title='Ticket %s' % self.ticket_num,
............
.....
```
Versioned artifact doesn't use `email_subject` property.
```
'#%s %s' % (self.ticket_num, self.summary)
```
If we do same as MR(putting `title=self.email_subject`) we get something like
`[allura:tickets] Ticket #323 ... ` in email and `Ticket #323 ... ` in
subcriptions
Okay. but word `ticket` is repeating
So I would suggest this
repo model
```python
def index(self):
result = Artifact.index(self)
result.update(
name_s='Merge Request #%d' % self.request_number,
type_s=self.type_s,
title='Merge Request #%d: %s' % (self.request_number, self.summary),
# modified here
)
return result
```
ticket model
```python
def index(self):
result = VersionedArtifact.index(self)
result.update(
title='Ticket #%d: %s' % (self.ticket_num, self.summary),
version_i=self.version,
type_s=self.type_s,
created_date_dt=self.created_date,
```
Then both will look same.(We can solve this ticket) and email subjects also
remain same
---
** [tickets:#8081] Subscriptions page should have the issues' Title column**
**Status:** open
**Milestone:** unreleased
**Created:** Fri Apr 15, 2016 10:53 AM UTC by Federico Bruni
**Last Updated:** Tue Oct 16, 2018 05:30 PM UTC
**Owner:** nobody
The subscriptions page on the account preferences currently lists 4 columns:
project, tool, item and the check option.
The item number doesn't tell much. In order to make it useful, I think that you
should add also a column with the title of the issue. There's a lot of padding
between each column now. If the title is too long, it should be wrapped at a
fixed maximum length.
---
Sent from forge-allura.apache.org because [email protected] is subscribed
to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.